summary refs log tree commit diff
diff options
context:
space:
mode:
-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 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 = ''