mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
crypto++: use stdenv.system in stead of builtins.currentSystem for patches and buildinputs
svn path=/nixpkgs/trunk/; revision=22507
This commit is contained in:
parent
78ba3b5d01
commit
0bb5538ec7
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user