[Nix-dev] Re: [PATCH 1/2] t/scons

Peter Simons simons at cryp.to
Wed Dec 22 18:35:42 CET 2010


Hi Eelco,

 > I do feel that the default path should be patched in Nixpkgs, because
 > leaving it as is causes a de facto behaviour change (SCons scripts that
 > rely on standard Unix tools in /usr/bin won't work on NixOS). However,
 > rather than setting it to the caller's $PATH (which is unpredictable), it
 > should be initialised to a deterministic build-time default, e.g.
 >
 >  "${coreutils}/bin:${gcc}/bin:..."
 >
 > That is, most of the tools provided by stdenv.

ideally, that exact list of paths would be passed to the expression as a
parameter, so that these settings can be overridden easily. That would allow
us to instantiate many different variants of scons that use different tools
by default.

Take care,
Peter




More information about the nix-dev mailing list