lol

GNU Nettle: Tentative patch for Cygwin.

svn path=/nixpkgs/trunk/; revision=17250

+15
+12
pkgs/development/libraries/nettle/cygwin.patch
··· 1 + Cygwin sucks. Patch suggested by Niel Möller. 2 + 3 + --- nettle-2.0/examples/setup-env 2009-06-08 20:27:12.000000000 +0200 4 + +++ nettle-2.0/examples/setup-env 2009-09-18 16:58:03.000000000 +0200 5 + @@ -3,5 +3,5 @@ 6 + set -e 7 + 8 + if [ -x rsa-keygen ] ; then 9 + - ./rsa-keygen -r rsa-decrypt -o testkey || exit 1 10 + + ./rsa-keygen -r rsa-decrypt.exe -o testkey || exit 1 11 + fi 12 +
+3
pkgs/development/libraries/nettle/default.nix
··· 13 13 14 14 doCheck = true; 15 15 16 + patches = stdenv.lib.optional (stdenv.system == "i686-cygwin") 17 + ./cygwin.patch; 18 + 16 19 meta = { 17 20 description = "GNU Nettle, a cryptographic library"; 18 21