Fix hooks not being called when overriding phases in various packages
It's necessary to do this in order to fix ckb's compilation, now that fixupPhase rejects derivation results containing references to the temporary build directory. It seems like good practice so I've added it to the other packages that I maintain.
This commit is contained in:
@@ -18,7 +18,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# $out is not known until the build has started.
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
makeFlags="$makeFlags PREFIX=$out"
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
|
||||
Reference in New Issue
Block a user