Skip to content

Commit

Permalink
john: fix opencl support
Browse files Browse the repository at this point in the history
Resolves the following error:
> Can't read source kernel: No such file or directory
  • Loading branch information
arcnmx committed Nov 4, 2024
1 parent a56efbc commit 66e4f1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/tools/security/john/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ stdenv.mkDerivation rec {
cp -vt "$out/share/john/rules" ../run/rules/*.rule
cp -vrt "$out/share/doc/john" ../doc/*
cp -vt "$out/${perlPackages.perl.libPrefix}" ../run/lib/*
'' + lib.optionalString withOpenCL ''
cp -vrt "$out/share/john" ../run/opencl
'';

postFixup = ''
Expand Down

0 comments on commit 66e4f1e

Please sign in to comment.