[Nix-dev] Re: Handle runtime dependencies

Ludovic Courtès ludo at gnu.org
Mon Mar 17 15:30:10 CET 2008


Hi,

Wouter db <uu at denbreejen.net> writes:

> I get your idea, but with really runtime dependencies, you do not need
> to feed them to the component expression at all (since the component
> does not use these dependencies at build time anyway), so you only
> declare them in the wrapper.

But the wrapper is created from the Nix expression itself, assuming
you're using `makeWrapper' in the `postInstall' stage, so the "run-time
dependencies" must be provided as build inputs since they are at least
used by `wrapProgram', for instance.

Or did I miss something?

Thanks,
Ludovic.




More information about the nix-dev mailing list