mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
Fix lock file generation
Before: "requires": { "nixpkgs": { "uri": "nixpkgs" } }, After: "requires": { "nixpkgs": { "uri": "github:edolstra/nixpkgs/f10e8a02eb7fa2b4a070f30cf87f4efcc7f3186d" } },
This commit is contained in:
parent
8c4e759efd
commit
3d0e81051f
4 changed files with 42 additions and 35 deletions
|
@ -123,7 +123,7 @@ std::string FlakeRef::to_string() const
|
|||
string = refData->alias;
|
||||
|
||||
else if (auto refData = std::get_if<FlakeRef::IsGitHub>(&data)) {
|
||||
assert(!ref || !rev);
|
||||
assert(!(ref && rev));
|
||||
string = "github:" + refData->owner + "/" + refData->repo;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue