From a00a8d0711512d8a38ddf4dc34c0458c9e140a01 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 2 Jan 2015 14:50:32 -0600 Subject: [PATCH] gnupg: correct a typo in their source code --- pkgs/tools/security/gnupg/20.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/security/gnupg/20.nix b/pkgs/tools/security/gnupg/20.nix index 7bace2ef1c4..a584f2d1d85 100644 --- a/pkgs/tools/security/gnupg/20.nix +++ b/pkgs/tools/security/gnupg/20.nix @@ -20,6 +20,9 @@ stdenv.mkDerivation rec { patchPhase = '' find tests -type f | xargs sed -e 's@/bin/pwd@${coreutils}&@g' -i + '' + stdenv.lib.optionalString stdenv.isDarwin '' + find . -name pcsc-wrapper.c | xargs sed -i 's/typedef unsinged int pcsc_dword_t/typedef unsigned int pcsc_dword_t/' + '' + '' patch gl/stdint_.h < ${./clang.patch} '';