We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nix run
1 parent 90bec9c commit 5d6ab84Copy full SHA for 5d6ab84
src/nix/app.cc
@@ -90,7 +90,7 @@ UnresolvedApp InstallableValue::toApp(EvalState & state)
90
},
91
[&](const NixStringContextElem::Opaque & o) -> DerivedPath {
92
return DerivedPath::Opaque{
93
- .path = o.path,
+ .path = state.devirtualize(o.path),
94
};
95
96
[&](const NixStringContextElem::Path & p) -> DerivedPath {
@@ -102,7 +102,7 @@ UnresolvedApp InstallableValue::toApp(EvalState & state)
102
103
return UnresolvedApp{App{
104
.context = std::move(context2),
105
- .program = program,
+ .program = state.devirtualize(program, context),
106
}};
107
}
108
0 commit comments