build02: nixpkgs-update: before running the updatescript fetcher, pull latest nixpkgs
Why === * The updatescript was not getting the latest information What changed === * Before finding updatescripts to run, update nixpkgs
This commit is contained in:
parent
20cd2e4226
commit
3c49f178df
1 changed files with 7 additions and 1 deletions
|
@ -138,6 +138,11 @@ let
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fetch-updatescript-cmd = pkgs.writeScriptBin "fetch-updatescript-cmd" ''
|
||||||
|
${pkgs.git}/bin/git -C /var/cache/nixpkgs-update/updatescript/nixpkgs pull upstream
|
||||||
|
${pkgs.nix}/bin/nix eval --raw -f ${./packages-with-update-script.nix}
|
||||||
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
users.groups.r-ryantm = { };
|
users.groups.r-ryantm = { };
|
||||||
|
@ -177,7 +182,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.nixpkgs-update-fetch-repology = mkFetcher "repology" "${nixpkgs-update-bin} fetch-repology";
|
systemd.services.nixpkgs-update-fetch-repology = mkFetcher "repology" "${nixpkgs-update-bin} fetch-repology";
|
||||||
systemd.services.nixpkgs-update-fetch-updatescript = mkFetcher "updatescript" "${pkgs.nix}/bin/nix eval --raw -f ${./packages-with-update-script.nix}";
|
|
||||||
|
systemd.services.nixpkgs-update-fetch-updatescript = mkFetcher "updatescript" "${fetch-updatescript-cmd}/bin/fetch-updatescript-cmd";
|
||||||
systemd.services.nixpkgs-update-fetch-github = mkFetcher "github" nixpkgs-update-github-releases';
|
systemd.services.nixpkgs-update-fetch-github = mkFetcher "github" nixpkgs-update-github-releases';
|
||||||
|
|
||||||
systemd.services.nixpkgs-update-worker1 = mkWorker "worker1";
|
systemd.services.nixpkgs-update-worker1 = mkWorker "worker1";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue