From c100551503b3cb3039fd7a4f950320ad26799c3b Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Thu, 23 Jul 2009 22:07:45 +0000 Subject: [PATCH] * darwin patch to make sure gnupatch doesn't get dSYM extension svn path=/nixpkgs/trunk/; revision=16447 --- pkgs/tools/text/gnupatch/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/text/gnupatch/default.nix b/pkgs/tools/text/gnupatch/default.nix index 272eaee785c..26e0b906e52 100644 --- a/pkgs/tools/text/gnupatch/default.nix +++ b/pkgs/tools/text/gnupatch/default.nix @@ -1,6 +1,6 @@ {stdenv, fetchurl}: -stdenv.mkDerivation { +stdenv.mkDerivation ( { name = "gnupatch-2.5.4"; src = fetchurl { url = mirror://gnu/patch/patch-2.5.4.tar.gz; @@ -10,6 +10,6 @@ stdenv.mkDerivation { # Hack around ancient configure script: doesn't build on many newer # platforms unless a platform is specified. configureFlags = "dummy"; - + patches = if stdenv.isDarwin then [./setmode.patch] else []; -} +} // (if stdenv.isDarwin then { ac_cv_exeext = "" ; } else {} ) )