Thanks Stewart. Do you happen to know if other nix commands (nix-shell, nix-build) use or ignore the extraCmds attribute? Or if any build phase uses it. I haven't found much documentation or code so far.
I made some progress based on an earlier suggestion, by simply adding environment variables in the call to mkDerivation. The package is a library and want to propagate the variables to another library that depends on this one, and so on, downstream. On Wed, Jan 28, 2015 at 1:03 AM, stewart mackenzie <[email protected]> wrote: > add something like this: > > extraCmds = '' > export SOMEPATH_ERLANG=${erlang}/opt/path/to/libs; > > ''; > }; > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
