1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

GNU Nettle: Tentative patch for Cygwin.

svn path=/nixpkgs/trunk/; revision=17250
This commit is contained in:
Ludovic Courtès 2009-09-18 15:01:47 +00:00
parent 26dc84f99a
commit 519b26bd4d
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,12 @@
Cygwin sucks. Patch suggested by Niel Möller.
--- nettle-2.0/examples/setup-env 2009-06-08 20:27:12.000000000 +0200
+++ nettle-2.0/examples/setup-env 2009-09-18 16:58:03.000000000 +0200
@@ -3,5 +3,5 @@
set -e
if [ -x rsa-keygen ] ; then
- ./rsa-keygen -r rsa-decrypt -o testkey || exit 1
+ ./rsa-keygen -r rsa-decrypt.exe -o testkey || exit 1
fi

View file

@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
doCheck = true;
patches = stdenv.lib.optional (stdenv.system == "i686-cygwin")
./cygwin.patch;
meta = {
description = "GNU Nettle, a cryptographic library";