Merge pull request #23653 from LnL7/darwin-crunch
crunch: enable darwin build
This commit is contained in:
commit
798623fd2b
1 changed files with 6 additions and 6 deletions
|
@ -11,11 +11,11 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ which ];
|
buildInputs = [ which ];
|
||||||
|
|
||||||
configurePhase = "true";
|
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
sed 's/sudo //' -i Makefile
|
substituteInPlace Makefile \
|
||||||
sed 's/-g root -o root//' -i Makefile
|
--replace '-g root -o root' "" \
|
||||||
|
--replace '-g wheel -o root' "" \
|
||||||
|
--replace 'sudo ' ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = "PREFIX=$(out)";
|
makeFlags = "PREFIX=$(out)";
|
||||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Wordlist generator";
|
description = "Wordlist generator";
|
||||||
homepage = https://sourceforge.net/projects/crunch-wordlist/;
|
homepage = https://sourceforge.net/projects/crunch-wordlist/;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = [ maintainers.lethalman ];
|
maintainers = with maintainers; [ lethalman lnl7 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue