nettle: cleanup cross changes

reviewer feedback + minor other things I noticed
while revisiting.
This commit is contained in:
Will Dietz 2018-02-13 12:36:54 -06:00
parent 804ae999f5
commit 6825c0c18b

View file

@ -12,18 +12,17 @@ stdenv.mkDerivation (rec {
outputs = [ "out" "dev" ];
outputBin = "dev";
nativeBuildInputs = [ gnum4 buildPackages.stdenv.cc ];
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ gnum4 ];
propagatedBuildInputs = [ gmp ];
doCheck = (stdenv.system != "i686-cygwin" && !stdenv.isDarwin && stdenv.buildPlatform == stdenv.hostPlatform);
doCheck = (stdenv.system != "i686-cygwin" && !stdenv.isDarwin);
enableParallelBuilding = true;
patches = stdenv.lib.optional (stdenv.system == "i686-cygwin")
./cygwin.patch;
configureFlags = '' CC_FOR_BUILD=${buildPackages.stdenv.cc.targetPrefix}gcc '';
meta = with stdenv.lib; {
description = "Cryptographic library";