GNU cpio: Add fix for Darwin.

svn path=/nixpkgs/trunk/; revision=22705
This commit is contained in:
Ludovic Courtès
2010-07-22 12:20:11 +00:00
parent ed3640e9de
commit 8115040c08
2 changed files with 22 additions and 1 deletions
+7 -1
View File
@@ -1,6 +1,6 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
stdenv.mkDerivation ({
name = "cpio-2.11";
src = fetchurl {
@@ -34,3 +34,9 @@ stdenv.mkDerivation {
platforms = stdenv.lib.platforms.all;
};
}
//
(if stdenv.isLinux
then {}
else { patches = [ ./darwin-fix.patch ]; }))