mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
nettle: cleanup cross changes
reviewer feedback + minor other things I noticed while revisiting.
This commit is contained in:
parent
804ae999f5
commit
6825c0c18b
@ -12,18 +12,17 @@ stdenv.mkDerivation (rec {
|
|||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
outputBin = "dev";
|
outputBin = "dev";
|
||||||
|
|
||||||
nativeBuildInputs = [ gnum4 buildPackages.stdenv.cc ];
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
|
nativeBuildInputs = [ gnum4 ];
|
||||||
propagatedBuildInputs = [ gmp ];
|
propagatedBuildInputs = [ gmp ];
|
||||||
|
|
||||||
doCheck = (stdenv.system != "i686-cygwin" && !stdenv.isDarwin && stdenv.buildPlatform == stdenv.hostPlatform);
|
doCheck = (stdenv.system != "i686-cygwin" && !stdenv.isDarwin);
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
patches = stdenv.lib.optional (stdenv.system == "i686-cygwin")
|
patches = stdenv.lib.optional (stdenv.system == "i686-cygwin")
|
||||||
./cygwin.patch;
|
./cygwin.patch;
|
||||||
|
|
||||||
configureFlags = '' CC_FOR_BUILD=${buildPackages.stdenv.cc.targetPrefix}gcc '';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Cryptographic library";
|
description = "Cryptographic library";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user