diff options
author | Nick Van den Broeck <nick.van.den.broeck666@gmail.com> | 2019-03-21 09:30:16 +0100 |
---|---|---|
committer | Nick Van den Broeck <nick.van.den.broeck666@gmail.com> | 2019-04-09 09:51:36 +0200 |
commit | 641db127be9df82fe4d51290120a8ba6d0b5f4fd (patch) | |
tree | 17d9e3ef710d7c650b64938c10ef5ed58de1056a /src/nix/build.cc | |
parent | 18c019b616f457b1f9a39da8cafc012be5ddffcc (diff) |
FlakeIds are now properly looked up in registries
Diffstat (limited to 'src/nix/build.cc')
-rw-r--r-- | src/nix/build.cc | 7 |
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); } }; |