This commit is contained in:
Eelco Dolstra 2020-09-15 13:22:53 +02:00
commit 46a8d6d531
2 changed files with 4 additions and 4 deletions

View file

@ -52,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;