updates to everything

This commit is contained in:
Chaos 2022-12-03 13:35:27 +00:00
parent 7373095163
commit 3310c28617
No known key found for this signature in database
4 changed files with 11 additions and 11 deletions

View file

@ -138,11 +138,11 @@
"utils": "utils_4" "utils": "utils_4"
}, },
"locked": { "locked": {
"lastModified": 1669825171, "lastModified": 1670058827,
"narHash": "sha256-HxlZHSiRGXnWAFbIJMeujqBe2KgACYx5XDRY0EA9P+4=", "narHash": "sha256-T+yyncPpZWeIkFrG/Cgj21iopULY3BZGWIhcT5ZmCgM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "478610aa37c8339eacabfa03f07dacf5574edd47", "rev": "eb3598cf44aa10f2a16fe38488a102c0f474d766",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -191,11 +191,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1669542132, "lastModified": 1669791787,
"narHash": "sha256-DRlg++NJAwPh8io3ExBJdNW7Djs3plVI5jgYQ+iXAZQ=", "narHash": "sha256-KBfoA2fOI5+wCrm7PR+j7jHqXeTkVRPQ0m5fcKchyuU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a115bb9bd56831941be3776c8a94005867f316a7", "rev": "e76c78d20685a043d23f5f9e0ccd2203997f1fb1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,4 +1,4 @@
{ {
"rev": "12.119.0", "rev": "12.119.1",
"sha256": "sha256-2ijgk9/BWndJva71XTDfnLM7oG5qFVYhwxOXUK7UA6s=" "sha256": "sha256-MESVjSTU0lRuIMxQmWQYxajy61cfsZUuSEqwFQ+PJGE="
} }

View file

@ -8,7 +8,7 @@
"sha256": "sha256-8oyV98yZhWeddlmSsWtMJ2vgHEdMzzQqTgyoKwtX5Xg=" "sha256": "sha256-8oyV98yZhWeddlmSsWtMJ2vgHEdMzzQqTgyoKwtX5Xg="
}, },
"proxy": { "proxy": {
"rev": "d3725f0007672a1d67bf84c364dfb1784d967df8", "rev": "69fec8f7dd088a58fcc5a15ab30df78c726b4355",
"sha256": "sha256-a+/Hg60uxcTY/QYr6bH3CENPitNnrmZjfMxMPxeZpbE=" "sha256": "sha256-a+/Hg60uxcTY/QYr6bH3CENPitNnrmZjfMxMPxeZpbE="
} }
} }

View file

@ -47,7 +47,7 @@ old_proxy_rev=$(json_get '.proxy.rev')
new_proxy_rev=$(curl -L "https://api.github.com/repos/TeamPiped/piped-proxy/commits" 2>/dev/null | jq ".[0].sha" -r) new_proxy_rev=$(curl -L "https://api.github.com/repos/TeamPiped/piped-proxy/commits" 2>/dev/null | jq ".[0].sha" -r)
if [ "$new_proxy_rev" != "$old_proxy_rev" ]; then if [ "$new_proxy_rev" != "$old_proxy_rev" ]; then
echo "Proxy is out of date. Updating..." echo "Proxy is out of date. Updating..."
json_set '.proxy.rev' "$new_backend_rev" json_set '.proxy.rev' "$new_proxy_rev"
new_proxy_sha256=$(nix-prefetch fetchFromGitHub --owner TeamPiped --repo piped-proxy --rev "$new_proxy_rev") new_proxy_sha256=$(nix-prefetch fetchFromGitHub --owner TeamPiped --repo piped-proxy --rev "$new_proxy_rev")
json_set '.proxy.sha256' "$new_proxy_sha256" json_set '.proxy.sha256' "$new_proxy_sha256"
fi fi