lowdown: run pre/postConfigure hooks

This commit is contained in:
sternenseemann 2021-02-09 15:16:58 +01:00 committed by Bjørn Forsman
parent 25174d14f6
commit 2ed8597999

View File

@ -15,10 +15,12 @@ stdenv.mkDerivation rec {
++ lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];
configurePhase = ''
runHook preConfigure
./configure PREFIX=''${!outputDev} \
BINDIR=''${!outputBin}/bin \
LIBDIR=''${!outputLib}/lib \
MANDIR=''${!outputMan}/share/man
runHook postConfigure
'';
# Fix lib extension so that fixDarwinDylibNames detects it