diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2017-03-09 00:46:13 +0100 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2017-03-09 00:46:13 +0100 |
commit | d5ef0daf7c7a363aff0e7afa81629bb04a18401d (patch) | |
tree | 6da5da7880828ef928731c8fc6f4c657d150a8ec | |
parent | f641e9022ed480ab45608b48f93c7b030d6bc59c (diff) |
crunch: enable darwin build
-rw-r--r-- | pkgs/tools/security/crunch/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/tools/security/crunch/default.nix b/pkgs/tools/security/crunch/default.nix index 914d79965c3e..3e94d52fc5fc 100644 --- a/pkgs/tools/security/crunch/default.nix +++ b/pkgs/tools/security/crunch/default.nix @@ -11,11 +11,11 @@ stdenv.mkDerivation rec { buildInputs = [ which ]; - configurePhase = "true"; - preBuild = '' - sed 's/sudo //' -i Makefile - sed 's/-g root -o root//' -i Makefile + substituteInPlace Makefile \ + --replace '-g root -o root' "" \ + --replace '-g wheel -o root' "" \ + --replace 'sudo ' "" ''; makeFlags = "PREFIX=$(out)"; @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Wordlist generator"; homepage = https://sourceforge.net/projects/crunch-wordlist/; - platforms = platforms.linux; - maintainers = [ maintainers.lethalman ]; + platforms = platforms.unix; + maintainers = with maintainers; [ lethalman lnl7 ]; }; } |