3
0
Fork 0
forked from mirrors/nixpkgs

* Hack around a weird build problem on Darwin.

svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10804
This commit is contained in:
Eelco Dolstra 2008-02-21 14:47:59 +00:00
parent c9f2559e30
commit bda5d7d471

View file

@ -1,6 +1,6 @@
{stdenv, fetchurl, pcre}:
stdenv.mkDerivation {
stdenv.mkDerivation ({
name = "gnugrep-2.5.3";
src = fetchurl {
@ -14,4 +14,8 @@ stdenv.mkDerivation {
homepage = http://www.gnu.org/software/grep/;
description = "GNU implementation of the Unix grep command";
};
}
} // (if stdenv.system == "i686-darwin" then {
preBuild = ''
makeFlagsArray=(mkdir_p="mkdir -p")
'';
} else {}))