1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

* Fix building on Darwin.

svn path=/nixpkgs/branches/stdenv-updates/; revision=14061
This commit is contained in:
Eelco Dolstra 2009-02-12 22:03:32 +00:00
parent 700c8abc43
commit 013d8e5e3a

View file

@ -1,6 +1,7 @@
{stdenv, fetchurl, pcre}:
let version = "2.5.4"; in
stdenv.mkDerivation {
name = "gnugrep-${version}";
@ -13,6 +14,12 @@ stdenv.mkDerivation {
doCheck = true;
# On Mac OS X, force use of mkdir -p, since Grep's fallback
# (./install-sh) is broken.
preConfigure = ''
export MKDIR_P="mkdir -p"
'';
meta = {
homepage = http://www.gnu.org/software/grep/;
description = "GNU implementation of the Unix grep command";