Author: rob Date: 2010-07-07 11:44:58 +0000 (Wed, 07 Jul 2010) New Revision: 22507
You can view the changes in this commit at: https://svn.nixos.org/viewvc/nix?rev=22507&view=rev Modified: nixpkgs/trunk/pkgs/development/libraries/crypto++/default.nix Log: crypto++: use stdenv.system in stead of builtins.currentSystem for patches and buildinputs Changes: Modified: nixpkgs/trunk/pkgs/development/libraries/crypto++/default.nix =================================================================== --- nixpkgs/trunk/pkgs/development/libraries/crypto++/default.nix 2010-07-07 11:42:04 UTC (rev 22506) +++ nixpkgs/trunk/pkgs/development/libraries/crypto++/default.nix 2010-07-07 11:44:58 UTC (rev 22507) @@ -9,13 +9,13 @@ }; patches = [ ./pic.patch ] - ++ stdenv.lib.optional (builtins.currentSystem != "i686-cygwin") ./dll.patch; + ++ stdenv.lib.optional (stdenv.system != "i686-cygwin") ./dll.patch; buildInputs = [ unzip ] # For some reason the makefile sets "AR = libtool" on Darwin. - ++ stdenv.lib.optional (builtins.currentSystem == "i686-darwin") libtool; + ++ stdenv.lib.optional (stdenv.system == "i686-darwin") libtool; # Unpack the thing in a subdirectory. unpackPhase = '' _______________________________________________ nix-commits mailing list nix-comm...@cs.uu.nl http://mail.cs.uu.nl/mailman/listinfo/nix-commits