mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
* Fix building on Darwin.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14061
This commit is contained in:
parent
700c8abc43
commit
013d8e5e3a
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue