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