[Nix-dev] Re: setup-new and propagatedBuildInputs, sourcing setup-new multiple times ?

Ludovic Courtès ludo at gnu.org
Tue Nov 4 14:54:40 CET 2008


Hi,

Marc Weber <marco-oweber at gmx.de> writes:

> Am I correct that if multiple dependencies have a store path in
> propagatedBuildInputs that /nix-support/setup-hook will be sourced
> multiple times?
>
> Do we want this? I mean if you have PYTHONPATH=PATH1:PATH1:PATH1 it will
> only make everything slightly slower but I can't see any benefits?

`setup-hook' is only used by the build daemon anyway, i.e., not at
run-time once applications are installed, so I'd say it doesn't matter
that much to have duplicates in the path.

Thanks,
Ludo'.




More information about the nix-dev mailing list