Skip to content

Commit

Permalink
hashcat: clean up with placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Jan 8, 2019
1 parent 153c0bd commit 76d8df7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions pkgs/tools/security/hashcat/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,12 @@ stdenv.mkDerivation rec {
buildInputs = [ opencl-headers xxHash ];

makeFlags = [
"PREFIX=${placeholder "out"}"
"OPENCL_HEADERS_KHRONOS=${opencl-headers}/include"
"COMPTIME=1337"
"VERSION_TAG=${version}"
];

# $out is not known until the build has started.
configurePhase = ''
runHook preConfigure
makeFlags="$makeFlags PREFIX=$out"
runHook postConfigure
'';

postFixup = ''
wrapProgram $out/bin/hashcat --prefix LD_LIBRARY_PATH : ${ocl-icd}/lib
'';
Expand Down

0 comments on commit 76d8df7

Please sign in to comment.