aboutsummaryrefslogtreecommitdiff
path: root/src/nix/build.cc
diff options
context:
space:
mode:
authorNick Van den Broeck <nick.van.den.broeck666@gmail.com>2019-03-21 09:30:16 +0100
committerNick Van den Broeck <nick.van.den.broeck666@gmail.com>2019-04-09 09:51:36 +0200
commit641db127be9df82fe4d51290120a8ba6d0b5f4fd (patch)
tree17d9e3ef710d7c650b64938c10ef5ed58de1056a /src/nix/build.cc
parent18c019b616f457b1f9a39da8cafc012be5ddffcc (diff)
FlakeIds are now properly looked up in registries
Diffstat (limited to 'src/nix/build.cc')
-rw-r--r--src/nix/build.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nix/build.cc b/src/nix/build.cc
index a6fcf5094..f6908b0c0 100644
--- a/src/nix/build.cc
+++ b/src/nix/build.cc
@@ -78,10 +78,11 @@ struct CmdBuild : MixDryRun, InstallablesCommand
}
}
+ std::string flakeUri = "";
if(updateLock)
- for (int i = 0; i < installables.size(); i++)
- if (auto flakeUri = installableToFlakeUri)
- updateLockFile(*evalState, FlakeRef(*flakeUri));
+ for (uint i = 0; i < installables.size(); i++)
+ // if (auto flakeUri = installableToFlakeUri)
+ updateLockFile(*evalState, flakeUri);
}
};