This must be a disadvantage of makeWrapper then (i havent looked at it).
But at beforehand delaring what dependencies should be excluded from the
hash calculation is i think unwanted and error prone (i would say
impure), you never really know if the build process uses them or not.
Wouter
Ludovic Courtès schreef:
Hi,
Wouter db <[EMAIL PROTECTED]> 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.
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev