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 ];
|
buildInputs = [ opencl-headers xxHash ];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
|
"PREFIX=${placeholder "out"}"
|
||||||
"OPENCL_HEADERS_KHRONOS=${opencl-headers}/include"
|
"OPENCL_HEADERS_KHRONOS=${opencl-headers}/include"
|
||||||
"COMPTIME=1337"
|
"COMPTIME=1337"
|
||||||
"VERSION_TAG=${version}"
|
"VERSION_TAG=${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
# $out is not known until the build has started.
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
makeFlags="$makeFlags PREFIX=$out"
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapProgram $out/bin/hashcat --prefix LD_LIBRARY_PATH : ${ocl-icd}/lib
|
wrapProgram $out/bin/hashcat --prefix LD_LIBRARY_PATH : ${ocl-icd}/lib
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user