diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2010-07-07 11:44:58 +0000 |
---|---|---|
committer | Rob Vermaas <rob.vermaas@gmail.com> | 2010-07-07 11:44:58 +0000 |
commit | 0bb5538ec796c85adb4c2a344011e39a073df219 (patch) | |
tree | c7e91d13b13c32571e38843f05d4b54975e3c685 /pkgs/development/libraries/crypto++ | |
parent | 78ba3b5d01cfefeb6169080b4acef6529ba7919b (diff) | |
download | nixpkgs-0bb5538ec796c85adb4c2a344011e39a073df219.tar nixpkgs-0bb5538ec796c85adb4c2a344011e39a073df219.tar.gz nixpkgs-0bb5538ec796c85adb4c2a344011e39a073df219.tar.bz2 nixpkgs-0bb5538ec796c85adb4c2a344011e39a073df219.tar.lz nixpkgs-0bb5538ec796c85adb4c2a344011e39a073df219.tar.xz nixpkgs-0bb5538ec796c85adb4c2a344011e39a073df219.tar.zst nixpkgs-0bb5538ec796c85adb4c2a344011e39a073df219.zip |
crypto++: use stdenv.system in stead of builtins.currentSystem for patches and buildinputs
svn path=/nixpkgs/trunk/; revision=22507
Diffstat (limited to 'pkgs/development/libraries/crypto++')
-rw-r--r-- | pkgs/development/libraries/crypto++/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/crypto++/default.nix b/pkgs/development/libraries/crypto++/default.nix index a2cfcc45a4c..f1c5db1caf1 100644 --- a/pkgs/development/libraries/crypto++/default.nix +++ b/pkgs/development/libraries/crypto++/default.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation rec { }; 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 = '' |