diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-04-06 15:25:06 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-04-06 15:25:06 +0200 |
commit | a9759407e55fb02c6e306fdd9fcedd821e465024 (patch) | |
tree | 9359ee9478d9d4f4c9bf74bfb4bba745a6a36bbf /src/libexpr/primops.cc | |
parent | 94812cca98fbb157e5f64a15a85a2b852d289feb (diff) |
Origin: Use SourcePath
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r-- | src/libexpr/primops.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index c77d45bd3..7c34e93ad 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -4136,7 +4136,6 @@ void EvalState::createBaseEnv() /* Add a wrapper around the derivation primop that computes the `drvPath' and `outPath' attributes lazily. */ - sDerivationNix = symbols.create(derivationNixPath); auto vDerivation = allocValue(); addConstant("derivation", vDerivation); @@ -4153,7 +4152,7 @@ void EvalState::createBaseEnv() // the parser needs two NUL bytes as terminators; one of them // is implied by being a C string. "\0"; - eval(parse(code, sizeof(code), derivationNixPath, {CanonPath::root}, staticBaseEnv), *vDerivation); + eval(parse(code, sizeof(code), derivationInternal, {CanonPath::root}, staticBaseEnv), *vDerivation); } |