build02/nixpkgs-update: reenable github fetcher

- update nixpkgs-update-github-releases
This commit is contained in:
zowoq 2024-03-31 08:03:58 +10:00
parent 5604d4aca9
commit 83c69172b0
2 changed files with 4 additions and 6 deletions

6
flake.lock generated
View file

@ -164,11 +164,11 @@
"nixpkgs-update-github-releases": {
"flake": false,
"locked": {
"lastModified": 1710739204,
"narHash": "sha256-PKZNV6ITH6n7LrFtqg7bJNLZxn31IlqCVkEm5tjdjFE=",
"lastModified": 1711836151,
"narHash": "sha256-UcJuW4xDJqs1RWKwGp+53l7uptjgjnv/bzGnoiIkOeI=",
"owner": "qowoz",
"repo": "nixpkgs-update-github-releases",
"rev": "490849230ae8044bb024de2f31d2bc724157e7e1",
"rev": "ad1053ebb8f13e50c12abde967266cc7bdc839d4",
"type": "github"
},
"original": {

View file

@ -17,8 +17,6 @@ let
socat # used by worker script
];
#nixpkgs-update-github-releases' = "${inputs.nixpkgs-update-github-releases}/main.py";
mkWorker = name: {
after = [ "network-online.target" "nixpkgs-update-supervisor.service" ];
wants = [ "network-online.target" ];
@ -185,7 +183,7 @@ in
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-github = mkFetcher "github" nixpkgs-update-github-releases';
systemd.services.nixpkgs-update-fetch-github = mkFetcher "github" "${inputs.nixpkgs-update-github-releases}/main.py";
systemd.services.nixpkgs-update-worker1 = mkWorker "worker1";
systemd.services.nixpkgs-update-worker2 = mkWorker "worker2";