[Nix-dev] Setup hook evaluation order

Thomas Tuegel ttuegel at mailbox.org
Thu Jun 22 13:05:27 CEST 2017


Hi nix-dev,

My package has a setup hook which needs $outputDev, $outputLib, etc. to be 
set. In other words, I need the multiple-outputs.sh setup hook to be loaded 
before my setup hook is evaluated. However, multiple-outputs.sh is part of 
defaultNativeBuildInputs and is always loaded *after* any packages in 
buildInputs or nativeBuildInputs.

How can I make my setup hook be evaluated after multiple-outputs.sh is loaded?

Thanks,
Tom


More information about the nix-dev mailing list