Author: shlevy
Date: Sat Jan 14 11:58:29 2012
New Revision: 31531
URL: https://nixos.org/websvn/nix/?rev=31531&sc=1

Log:
mysql51: enable building on darwin

Modified:
   nixpkgs/trunk/pkgs/servers/sql/mysql51/default.nix

Modified: nixpkgs/trunk/pkgs/servers/sql/mysql51/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/servers/sql/mysql51/default.nix  Sat Jan 14 11:41:06 
2012        (r31530)
+++ nixpkgs/trunk/pkgs/servers/sql/mysql51/default.nix  Sat Jan 14 11:58:29 
2012        (r31531)
@@ -10,7 +10,7 @@
     sha256 = "07xbnwk7h1xya8s6dw34nrv7ampzag8l0l1szd2pc9zyqkzhydw4";
   };
 
-  buildInputs = [ps ncurses zlib perl openssl];
+  buildInputs = [ncurses zlib perl openssl] ++ stdenv.lib.optional 
stdenv.isLinux ps;
 
   configureFlags = "--enable-thread-safe-client --with-ssl=${openssl} 
--with-embedded-server --with-plugins=max-no-ndb" +
     (if stdenv.system == "x86_64-linux" then " --with-lib-ccflags=-fPIC" else 
"");
@@ -30,5 +30,6 @@
   meta = {
     homepage = http://www.mysql.com/;
     description = "The world's most popular open source database";
+    platforms = stdenv.lib.platforms.all;
   };
 }
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to