fix build after nix commit 82b77a77262c414044fffc7ad8b955ad91827995

This commit is contained in:
ajs124 2020-09-11 20:19:58 +02:00
parent e630440a07
commit 2c61779816
2 changed files with 25 additions and 7 deletions

View file

@ -1,15 +1,33 @@
{ {
"nodes": { "nodes": {
"lowdown-src": {
"flake": false,
"locked": {
"lastModified": 1598296217,
"narHash": "sha256-ha7lyNY1d8m+osmDpPc9f/bfZ3ZC1IVIXwfyklSWg8I=",
"owner": "edolstra",
"repo": "lowdown",
"rev": "c7a4e715af1e233080842db82d15b261cb74cb28",
"type": "github"
},
"original": {
"owner": "edolstra",
"ref": "no-structs-in-anonymous-unions",
"repo": "lowdown",
"type": "github"
}
},
"nix": { "nix": {
"inputs": { "inputs": {
"lowdown-src": "lowdown-src",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1598539168, "lastModified": 1600084131,
"narHash": "sha256-2i95APppDPjN7wKfgJHlg9r7vU13vOI22iK88mtuvy4=", "narHash": "sha256-haVF8TAEj2Uws2dJgCIvq+GAZRe6I+7U85C/7I/0YUU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nix", "repo": "nix",
"rev": "eb75282b8dc855983368c79cc4c2943c298518f7", "rev": "a59e77d9e54e8e7bf0f3c3f40c22cd34b7a81225",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -34,11 +52,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1594117931, "lastModified": 1599903709,
"narHash": "sha256-x7nZvITCLJiK7miPXU6yl2zdq+MlhjHicggfvjLguFg=", "narHash": "sha256-tinVKY7zRdSXmVOp7BAulNtIb2iP5nvNp5UAxihKXNI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c9d124e39dbeefc53c7b3e09fbfc2c26bcbd4845", "rev": "252bfe0107587d40092057f338e9ffcf7bbd90cb",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -211,7 +211,7 @@ static void worker(
if (gcRootsDir != "" && localStore) { if (gcRootsDir != "" && localStore) {
Path root = gcRootsDir + "/" + std::string(baseNameOf(drvPath)); Path root = gcRootsDir + "/" + std::string(baseNameOf(drvPath));
if (!pathExists(root)) if (!pathExists(root))
localStore->addPermRoot(localStore->parseStorePath(drvPath), root, false); localStore->addPermRoot(localStore->parseStorePath(drvPath), root);
} }
nlohmann::json out; nlohmann::json out;