aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/crypto++
diff options
context:
space:
mode:
authorRob Vermaas <rob.vermaas@gmail.com>2010-07-07 11:44:58 +0000
committerRob Vermaas <rob.vermaas@gmail.com>2010-07-07 11:44:58 +0000
commit0bb5538ec796c85adb4c2a344011e39a073df219 (patch)
treec7e91d13b13c32571e38843f05d4b54975e3c685 /pkgs/development/libraries/crypto++
parent78ba3b5d01cfefeb6169080b4acef6529ba7919b (diff)
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.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/crypto++/default.nix b/pkgs/development/libraries/crypto++/default.nix
index a2cfcc45a4ce..f1c5db1caf10 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 = ''