Skip to content

Commit 03ebee1

Browse files
viserctulJohnRTitor
authored andcommitted
john: fix missing opencl kernels
1 parent f75325c commit 03ebee1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkgs/by-name/jo/john/package.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,13 @@ stdenv.mkDerivation {
112112
enableParallelBuilding = false;
113113

114114
postInstall = ''
115-
mkdir -p "$out/bin" "$out/etc/john" "$out/share/john" "$out/share/doc/john" "$out/share/john/rules" "$out/${perlPackages.perl.libPrefix}"
115+
mkdir -p "$out/bin" "$out/etc/john" "$out/share/john" "$out/share/doc/john" "$out/share/john/rules" "$out/share/john/opencl" "$out/${perlPackages.perl.libPrefix}"
116116
find -L ../run -mindepth 1 -maxdepth 1 -type f -executable \
117117
-exec cp -d {} "$out/bin" \;
118118
cp -vt "$out/etc/john" ../run/*.conf
119119
cp -vt "$out/share/john" ../run/*.chr ../run/password.lst
120120
cp -vt "$out/share/john/rules" ../run/rules/*.rule
121+
cp -vt "$out/share/john/opencl" ../run/opencl/*.cl ../run/opencl/*.h
121122
cp -vLrt "$out/share/doc/john" ../doc/*
122123
cp -vt "$out/${perlPackages.perl.libPrefix}" ../run/lib/*
123124
'';

0 commit comments

Comments
 (0)