Merge pull request #23653 from LnL7/darwin-crunch

crunch: enable darwin build

authored by Daiderd Jordan and committed by GitHub 798623fd 8b7f5e8d

+6 -6
+6 -6
pkgs/tools/security/crunch/default.nix
··· 11 12 buildInputs = [ which ]; 13 14 - configurePhase = "true"; 15 - 16 preBuild = '' 17 - sed 's/sudo //' -i Makefile 18 - sed 's/-g root -o root//' -i Makefile 19 ''; 20 21 makeFlags = "PREFIX=$(out)"; ··· 23 meta = with stdenv.lib; { 24 description = "Wordlist generator"; 25 homepage = https://sourceforge.net/projects/crunch-wordlist/; 26 - platforms = platforms.linux; 27 - maintainers = [ maintainers.lethalman ]; 28 }; 29 }
··· 11 12 buildInputs = [ which ]; 13 14 preBuild = '' 15 + substituteInPlace Makefile \ 16 + --replace '-g root -o root' "" \ 17 + --replace '-g wheel -o root' "" \ 18 + --replace 'sudo ' "" 19 ''; 20 21 makeFlags = "PREFIX=$(out)"; ··· 23 meta = with stdenv.lib; { 24 description = "Wordlist generator"; 25 homepage = https://sourceforge.net/projects/crunch-wordlist/; 26 + platforms = platforms.unix; 27 + maintainers = with maintainers; [ lethalman lnl7 ]; 28 }; 29 }