1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 15:51:15 +02:00

* Don't use a hard-coded path.

This commit is contained in:
Eelco Dolstra 2003-11-22 21:12:36 +00:00
parent 9486dda115
commit af7e6fe22e
4 changed files with 12 additions and 2 deletions

View file

@ -164,7 +164,7 @@ void switchLink(Path link, Path target)
void createUserEnv(EvalState & state, const DrvInfos & drvs)
{
/* Get the environment builder expression. */
Expr envBuilder = parseExprFromFile("/home/eelco/nix/corepkgs/buildenv"); /* !!! */
Expr envBuilder = parseExprFromFile(nixDataDir + "/nix/corepkgs/buildenv"); /* !!! */
/* Construct the whole top level derivation. */
ATermList inputs = ATempty;