Merge branch 'fix/addPermRoot' of https://github.com/helsinki-systems/hydra
This commit is contained in:
commit
46a8d6d531
|
@ -52,11 +52,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1594117931,
|
||||
"narHash": "sha256-x7nZvITCLJiK7miPXU6yl2zdq+MlhjHicggfvjLguFg=",
|
||||
"lastModified": 1599903709,
|
||||
"narHash": "sha256-tinVKY7zRdSXmVOp7BAulNtIb2iP5nvNp5UAxihKXNI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c9d124e39dbeefc53c7b3e09fbfc2c26bcbd4845",
|
||||
"rev": "252bfe0107587d40092057f338e9ffcf7bbd90cb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -211,7 +211,7 @@ static void worker(
|
|||
if (gcRootsDir != "" && localStore) {
|
||||
Path root = gcRootsDir + "/" + std::string(baseNameOf(drvPath));
|
||||
if (!pathExists(root))
|
||||
localStore->addPermRoot(localStore->parseStorePath(drvPath), root, false);
|
||||
localStore->addPermRoot(localStore->parseStorePath(drvPath), root);
|
||||
}
|
||||
|
||||
nlohmann::json out;
|
||||
|
|
Loading…
Reference in a new issue