summary refs log tree commit diff
path: root/pkgs/tools/text/gnupatch
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2006-10-19 22:31:08 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2006-10-19 22:31:08 +0000
commit1acd2157cc15f1e0a7cb8c9a79032f5e1ce7a0ea (patch)
tree2e7fbb7ea9d75a3b8643d18914f93c2de83502ec /pkgs/tools/text/gnupatch
parent8ae026392bc54411d57951e1ba73f04a0dc0acb7 (diff)
* Add patch, sed.
svn path=/nixpkgs/trunk/; revision=6782
Diffstat (limited to 'pkgs/tools/text/gnupatch')
-rw-r--r--pkgs/tools/text/gnupatch/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/tools/text/gnupatch/default.nix b/pkgs/tools/text/gnupatch/default.nix
index 2716d6a298ab6..b4f702fdf3c2c 100644
--- a/pkgs/tools/text/gnupatch/default.nix
+++ b/pkgs/tools/text/gnupatch/default.nix
@@ -9,4 +9,11 @@
   (if stdenv.system != "i686-linux" then {
     patches = [./setmode.patch];
     configureFlags = "dummy"; # doesn't build on Darwin unless a platform is specified
-  } else {}))
+  } else {})
+  // 
+  # !!! hack
+  (if stdenv ? isDietLibC then {
+    # !!! pass this on all platforms
+    configureFlags = "dummy"; # doesn't build unless a platform is specified
+  } else {})
+)