mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
ocamlPackages.findlib: move destdir creation to installPhase
allows to use configurePhase in nix-shell
This commit is contained in:
parent
79fb9f824e
commit
9a778368f2
@ -47,8 +47,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# run for every buildInput
|
||||
addEnvHooks "$targetOffset" addOCamlPath
|
||||
# run before configurePhase, even without buildInputs, and not in nix-shell
|
||||
preConfigureHooks+=(createOcamlDestDir)
|
||||
# run before installPhase, even without buildInputs, and not in nix-shell
|
||||
preInstallHooks+=(createOcamlDestDir)
|
||||
# run even in nix-shell, and even without buildInputs
|
||||
addEnvHooks "$hostOffset" exportOcamlDestDir
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user