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:
Kier Davis
2017-06-05 19:13:19 +01:00
parent 602a492bb7
commit b81124b4fb
4 changed files with 30 additions and 0 deletions
@@ -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 = ''