git.iko.soy/typeable/nixpkgs
on master help sign in
john: use proper configure flags

- need --disable-native-tests not --disable-native-macro - --with-systemwide is better than -DJOHN_SYSTEMWIDE=1 Fixes #74918

commit73cf5d961bcd06d3aa73ab7066cd59049eff8e7f authorMatthew Bauer <mjbauer95@gmail.com> dateFri 6 Dec 2019, 10:43 (7 years ago) parentc87ff30
1 file changed+4−3
pkgs/tools/security/john/default.nix+4−3
pkgs/tools/security/john/default.nix+4−3
@@ -31,7 +31,10 @@ stdenv.mkDerivation rec {
3131 export AS=$CC
3232 export LD=$CC
3333 '';
34− configureFlags = [ "--disable-native-macro" ];
34+ configureFlags = [
35+ "--disable-native-tests"
36+ "--with-systemwide"
37+ ];
3538
3639 buildInputs = [ openssl nss nspr kerberos gmp zlib libpcap re2 ];
3740 nativeBuildInputs = [ gcc python3Packages.wrapPython perl makeWrapper ];
@@ -44,8 +47,6 @@ stdenv.mkDerivation rec {
4447 # gcc: error: memdbg.o: No such file or directory
4548 enableParallelBuilding = false;
4649
47− NIX_CFLAGS_COMPILE = [ "-DJOHN_SYSTEMWIDE=1" ];
48−
4950 postInstall = ''
5051 mkdir -p "$out/bin" "$out/etc/john" "$out/share/john" "$out/share/doc/john"
5152 find -L ../run -mindepth 1 -maxdepth 1 -type f -executable \