[Nix-dev] Patch: Add a "--from-file" option to all nix commands

Marc Weber marco-oweber at gmx.de
Mon Aug 8 23:08:59 CEST 2011


Excerpts from Shea Levy's message of Mon Aug 08 20:33:19 +0200 2011:
> that this patch is NOT YET TESTED, I'm sending it here while I work on 
> figuring out how to build nix from SVN in the hopes that someone might 
> already be equipped to do so ..

Wow. You're writing code without running a compiler.
 
Either add lex, bison to buildinputs and build with -K forcing a failure
then pick up env-vars file ..

Or Have a look at myEnvFun in all-packages.nix. It does roughly the
same. However you can load the env using the loadEnv command anytime
(see comments).
You have to copy paste build inputs. That's what I've been using.

Marc Weber



More information about the nix-dev mailing list