hashcat: clean up with placeholder
This commit is contained in:
parent
153c0bdb6a
commit
76d8df7b32
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user