diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-12-06 15:32:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-06 15:32:04 -0500 |
commit | ceb1e9217322aa69b982ec69bb973d8401022f69 (patch) | |
tree | e06132d35a3be359e4ac939563bd38ff2e03f22d /pkgs/tools/security | |
parent | b5d04f6b32a3024c783c345a9b04ca9565e1fcbd (diff) | |
parent | a36c36a87b5fa3174e7304430fa5e19af35c6e0c (diff) | |
download | nixlib-ceb1e9217322aa69b982ec69bb973d8401022f69.tar nixlib-ceb1e9217322aa69b982ec69bb973d8401022f69.tar.gz nixlib-ceb1e9217322aa69b982ec69bb973d8401022f69.tar.bz2 nixlib-ceb1e9217322aa69b982ec69bb973d8401022f69.tar.lz nixlib-ceb1e9217322aa69b982ec69bb973d8401022f69.tar.xz nixlib-ceb1e9217322aa69b982ec69bb973d8401022f69.tar.zst nixlib-ceb1e9217322aa69b982ec69bb973d8401022f69.zip |
Merge pull request #75107 from matthewbauer/disable-native-tests-john
Disable native tests for john the ripper
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/john/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/tools/security/john/default.nix b/pkgs/tools/security/john/default.nix index fd5659e7f9db..17e02e736dc4 100644 --- a/pkgs/tools/security/john/default.nix +++ b/pkgs/tools/security/john/default.nix @@ -31,7 +31,10 @@ stdenv.mkDerivation rec { export AS=$CC export LD=$CC ''; - configureFlags = [ "--disable-native-macro" ]; + configureFlags = [ + "--disable-native-tests" + "--with-systemwide" + ]; buildInputs = [ openssl nss nspr kerberos gmp zlib libpcap re2 ]; nativeBuildInputs = [ gcc python3Packages.wrapPython perl makeWrapper ]; @@ -44,8 +47,6 @@ stdenv.mkDerivation rec { # gcc: error: memdbg.o: No such file or directory enableParallelBuilding = false; - NIX_CFLAGS_COMPILE = [ "-DJOHN_SYSTEMWIDE=1" ]; - postInstall = '' mkdir -p "$out/bin" "$out/etc/john" "$out/share/john" "$out/share/doc/john" "$out/share/john/rules" find -L ../run -mindepth 1 -maxdepth 1 -type f -executable \ @@ -68,7 +69,7 @@ stdenv.mkDerivation rec { description = "John the Ripper password cracker"; license = licenses.gpl2; homepage = https://github.com/magnumripper/JohnTheRipper/; - maintainers = with maintainers; [ offline ]; - platforms = [ "x86_64-linux" "x86_64-darwin"]; + maintainers = with maintainers; [ offline matthewbauer ]; + platforms = platforms.unix; }; } |