Merge pull request #921 from lovek323/ack
perlPackages.ack: fix build on darwin
This commit is contained in:
commit
c3ab563e47
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
rec {
|
rec {
|
||||||
|
|
||||||
inherit (pkgs) buildPerlPackage fetchurl stdenv perl fetchsvn;
|
inherit (pkgs) buildPerlPackage fetchurl stdenv perl fetchsvn gnused;
|
||||||
|
|
||||||
inherit __overrides;
|
inherit __overrides;
|
||||||
|
|
||||||
@ -30,11 +30,14 @@ rec {
|
|||||||
url = "mirror://cpan/authors/id/P/PE/PETDANCE/${name}.tar.gz";
|
url = "mirror://cpan/authors/id/P/PE/PETDANCE/${name}.tar.gz";
|
||||||
sha256 = "de5560f2ce6334f3f83bef4ee942fdb09b792f05cf534fe67be3cb0431bf758f";
|
sha256 = "de5560f2ce6334f3f83bef4ee942fdb09b792f05cf534fe67be3cb0431bf758f";
|
||||||
};
|
};
|
||||||
|
# use gnused so that the preCheck command passes
|
||||||
|
buildInputs = stdenv.lib.optional stdenv.isDarwin [ gnused ];
|
||||||
propagatedBuildInputs = [ FileNext ];
|
propagatedBuildInputs = [ FileNext ];
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "A grep-like tool tailored to working with large trees of source code";
|
description = "A grep-like tool tailored to working with large trees of source code";
|
||||||
homepage = http://betterthangrep.com/;
|
homepage = http://betterthangrep.com/;
|
||||||
license = "free"; # Artistic 2.0
|
license = "free"; # Artistic 2.0
|
||||||
|
maintainers = with maintainers; [ lovek323 ];
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
# t/swamp/{0,perl-without-extension} are datafiles for the test
|
# t/swamp/{0,perl-without-extension} are datafiles for the test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user