forked from lix-project/hydra
Merge branch 'fix/addPermRoot' of https://github.com/helsinki-systems/hydra
This commit is contained in:
commit
46a8d6d531
|
@ -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": {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue