mirror of
https://github.com/NixOS/nix
synced 2025-06-26 15:51:15 +02:00
Actually fix nixDataDir in non-canonical path
This commit is contained in:
parent
8a5da93841
commit
14ca85688c
2 changed files with 2 additions and 2 deletions
|
@ -2236,7 +2236,7 @@ void EvalState::createBaseEnv()
|
|||
|
||||
/* Add a wrapper around the derivation primop that computes the
|
||||
`drvPath' and `outPath' attributes lazily. */
|
||||
string path = settings.nixDataDir + "/nix/corepkgs/derivation.nix";
|
||||
string path = canonPath(settings.nixDataDir + "/nix/corepkgs/derivation.nix", true);
|
||||
sDerivationNix = symbols.create(path);
|
||||
evalFile(path, v);
|
||||
addConstant("derivation", v);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue