[Nix-dev] Setup hook evaluation order

Vladimír Čunát vcunat at gmail.com
Sun Jun 25 08:31:28 CEST 2017


On 06/22/2017 01:05 PM, Thomas Tuegel wrote:
> How can I make my setup hook be evaluated after multiple-outputs.sh is loaded?

Immediate idea, maybe there's a better way: make the envHook just extend
prePhases by a function that does the actual work.  That should get run
after all envHooks but before all phases.

Still, I wonder if we should change the order to run the setup hooks
from stdenv before those from packages.  It would seem more natural.

--Vladimir


More information about the nix-dev mailing list