mirror of
https://github.com/NixOS/nix.git
synced 2025-11-29 21:50:58 +01:00
Add CanonPath wrapper to represent canonicalized paths
This commit is contained in:
parent
de35e2d3b4
commit
a71f209330
31 changed files with 503 additions and 187 deletions
|
|
@ -1477,7 +1477,7 @@ static int main_nix_env(int argc, char * * argv)
|
|||
if (file != "")
|
||||
// FIXME: check that the accessor returned by
|
||||
// lookupFileArg() is the root FS.
|
||||
globals.instSource.nixExprPath = lookupFileArg(*globals.state, file).path;
|
||||
globals.instSource.nixExprPath = lookupFileArg(*globals.state, file).path.abs();
|
||||
|
||||
globals.instSource.autoArgs = myArgs.getAutoArgs(*globals.state);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue