nixpkgs-update: use XDG_CACHE_HOME for NIX_PATH
This commit is contained in:
parent
52c15ee991
commit
3fd404119a
2 changed files with 5 additions and 4 deletions
|
@ -63,7 +63,8 @@ in
|
||||||
# API_TOKEN is used by nixpkgs-update-github-releases
|
# API_TOKEN is used by nixpkgs-update-github-releases
|
||||||
environment.API_TOKEN_FILE = "/var/lib/nixpkgs-update/github_token_with_username.txt";
|
environment.API_TOKEN_FILE = "/var/lib/nixpkgs-update/github_token_with_username.txt";
|
||||||
# Used by nixpkgs-update-github-releases to install python dependencies
|
# Used by nixpkgs-update-github-releases to install python dependencies
|
||||||
environment.NIX_PATH = "nixpkgs=${sources.nixpkgs}";
|
# Used by nixpkgs-update-pypi-releases
|
||||||
|
environment.NIX_PATH = "nixpkgs=$XDG_CACHE_HOME/nixpkgs";
|
||||||
|
|
||||||
serviceConfig = nixpkgsUpdateServiceConfigCommon;
|
serviceConfig = nixpkgsUpdateServiceConfigCommon;
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"owner": "ryantm",
|
"owner": "ryantm",
|
||||||
"repo": "nixpkgs-update",
|
"repo": "nixpkgs-update",
|
||||||
"rev": "93d16eb8532f1d98e437500a24cc8ad2b4b2cac0",
|
"rev": "a486177e210f3dd364c809139996d2ad7fc4cc3b",
|
||||||
"sha256": "19ifnyhw2irq17mhqsc0c9pzw59ln3vya9c3zf2hkjlqpdsgcnx1",
|
"sha256": "11vk0wvcjbm50hvpppycdr9nhhbsiz05nzh3rvxk5zir7app15wq",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/ryantm/nixpkgs-update/archive/93d16eb8532f1d98e437500a24cc8ad2b4b2cac0.tar.gz",
|
"url": "https://github.com/ryantm/nixpkgs-update/archive/a486177e210f3dd364c809139996d2ad7fc4cc3b.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
},
|
},
|
||||||
"nixpkgs-update-github-releases": {
|
"nixpkgs-update-github-releases": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue