git.iko.soy/typeable/nixpkgs
on master help sign in
crunch: enable darwin build
commitd5ef0daf7c7a363aff0e7afa81629bb04a18401d authorDaiderd Jordan <daiderd@gmail.com> dateThu 9 Mar 2017, 00:46 (10 years ago) parentf641e90
1 file changed+6−6
pkgs/tools/security/crunch/default.nix+6−6
pkgs/tools/security/crunch/default.nix+6−6
@@ -11,11 +11,11 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [ which ];
1313
14− configurePhase = "true";
15−
1614 preBuild = ''
17− sed 's/sudo //' -i Makefile
18− sed 's/-g root -o root//' -i Makefile
15+ substituteInPlace Makefile \
16+ --replace '-g root -o root' "" \
17+ --replace '-g wheel -o root' "" \
18+ --replace 'sudo ' ""
1919 '';
2020
2121 makeFlags = "PREFIX=$(out)";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 meta = with stdenv.lib; {
2424 description = "Wordlist generator";
2525 homepage = https://sourceforge.net/projects/crunch-wordlist/;
26− platforms = platforms.linux;
27− maintainers = [ maintainers.lethalman ];
26+ platforms = platforms.unix;
27+ maintainers = with maintainers; [ lethalman lnl7 ];
2828 };
2929}