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
|
||||
environment.API_TOKEN_FILE = "/var/lib/nixpkgs-update/github_token_with_username.txt";
|
||||
# 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;
|
||||
|
||||
|
|
|
@ -17,10 +17,10 @@
|
|||
"homepage": "",
|
||||
"owner": "ryantm",
|
||||
"repo": "nixpkgs-update",
|
||||
"rev": "93d16eb8532f1d98e437500a24cc8ad2b4b2cac0",
|
||||
"sha256": "19ifnyhw2irq17mhqsc0c9pzw59ln3vya9c3zf2hkjlqpdsgcnx1",
|
||||
"rev": "a486177e210f3dd364c809139996d2ad7fc4cc3b",
|
||||
"sha256": "11vk0wvcjbm50hvpppycdr9nhhbsiz05nzh3rvxk5zir7app15wq",
|
||||
"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"
|
||||
},
|
||||
"nixpkgs-update-github-releases": {
|
||||
|
|
Loading…
Add table
Reference in a new issue