diff --git a/pkgs/tools/security/john/default.nix b/pkgs/tools/security/john/default.nix index 5f27e61ec39f6..a1f9b5c1721c3 100644 --- a/pkgs/tools/security/john/default.nix +++ b/pkgs/tools/security/john/default.nix @@ -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 = ''