From 0bb5538ec796c85adb4c2a344011e39a073df219 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Wed, 7 Jul 2010 11:44:58 +0000 Subject: crypto++: use stdenv.system in stead of builtins.currentSystem for patches and buildinputs svn path=/nixpkgs/trunk/; revision=22507 --- pkgs/development/libraries/crypto++/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/libraries/crypto++') 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 = '' -- cgit 1.4.1