build02/nixpkgs-update: use fetchTarball for updatescript fetcher
this is similar to how the github fetcher works also update mkFetcher CacheDirectory
This commit is contained in:
parent
ded8e19b95
commit
f372a7f4fd
2 changed files with 2 additions and 2 deletions
hosts/build02
|
@ -126,7 +126,7 @@ let
|
|||
LogsDirectoryMode = "755";
|
||||
StateDirectory = "nixpkgs-update";
|
||||
StateDirectoryMode = "700";
|
||||
CacheDirectory = "nixpkgs-update/worker";
|
||||
CacheDirectory = "nixpkgs-update/fetcher";
|
||||
CacheDirectoryMode = "700";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
let
|
||||
pkgs = import /var/cache/nixpkgs-update/worker/nixpkgs { };
|
||||
pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/master.tar.gz") { };
|
||||
in
|
||||
# code in the following let block was copied from nixos/nixpkgs under
|
||||
# the MIT License
|
||||
|
|
Loading…
Add table
Reference in a new issue