tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
crunch: enable darwin build
Daiderd Jordan
9 years ago
d5ef0daf
f641e902
+6
-6
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
crunch
default.nix
+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
0
0
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
0
0
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
}