john: fix build with gcc15 (#476050)

This commit is contained in:
Aleksana
2026-01-02 06:35:59 +00:00
committed by GitHub
+3
View File
@@ -40,6 +40,9 @@ stdenv.mkDerivation {
})
];
# Fix build with gcc 15
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
postPatch = ''
sed -ri -e '
s!^(#define\s+CFG_[A-Z]+_NAME\s+).*/!\1"'"$out"'/etc/john/!