From 26a9d1785436b6579266ddb73e3550c61d563480 Mon Sep 17 00:00:00 2001 From: Chaos Date: Wed, 30 Nov 2022 16:24:24 +0000 Subject: [PATCH] update flake depends --- flake.lock | 18 +++++++++--------- overlay/invidious/update.sh | 6 +++--- overlay/misskey/update.sh | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/flake.lock b/flake.lock index f20a670..969d6a5 100644 --- a/flake.lock +++ b/flake.lock @@ -138,11 +138,11 @@ "utils": "utils_4" }, "locked": { - "lastModified": 1669071065, - "narHash": "sha256-KBpgj3JkvlPsJ3duOZqFJe6tgr+wc75t8sFmgRbBSbw=", + "lastModified": 1669825171, + "narHash": "sha256-HxlZHSiRGXnWAFbIJMeujqBe2KgACYx5XDRY0EA9P+4=", "owner": "nix-community", "repo": "home-manager", - "rev": "f7641a3ff398ccce952e19a199d775934e518c1d", + "rev": "478610aa37c8339eacabfa03f07dacf5574edd47", "type": "github" }, "original": { @@ -191,11 +191,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1669140675, - "narHash": "sha256-npzfyfLECsJWgzK/M4gWhykP2DNAJTYjgY2BWkz/oEQ=", + "lastModified": 1669542132, + "narHash": "sha256-DRlg++NJAwPh8io3ExBJdNW7Djs3plVI5jgYQ+iXAZQ=", "owner": "nixos", "repo": "nixpkgs", - "rev": "2788904d26dda6cfa1921c5abb7a2466ffe3cb8c", + "rev": "a115bb9bd56831941be3776c8a94005867f316a7", "type": "github" }, "original": { @@ -207,11 +207,11 @@ }, "nur": { "locked": { - "lastModified": 1669182177, - "narHash": "sha256-U3Bp+pZN58lEqlk1hoTyCGUckFpZfXW2b14p1NGymyY=", + "lastModified": 1669805596, + "narHash": "sha256-g1CPQZ+1jGhY4bsjppk+gH5jfzzqmPlqGHg0zSYS3Hw=", "owner": "nix-community", "repo": "NUR", - "rev": "6ccbe180fc646a7672cede9fa008fd30d744d0c8", + "rev": "c81b1e527f3a220abfa9bf8096153d52784c5007", "type": "github" }, "original": { diff --git a/overlay/invidious/update.sh b/overlay/invidious/update.sh index ffba443..69d6c77 100755 --- a/overlay/invidious/update.sh +++ b/overlay/invidious/update.sh @@ -32,10 +32,10 @@ today=$(LANG=C date -u +'%Y-%m-%d') info "fetching $git_url..." if [ ! -d "$git_dir" ]; then - git init --initial-branch="$git_branch" "$git_dir" - git -C "$git_dir" remote add origin "$git_url" + git init --initial-branch="$git_branch" "$git_dir" 2>/dev/null + git -C "$git_dir" remote add origin "$git_url" 2>/dev/null fi -git -C "$git_dir" fetch origin "$git_branch" +git -C "$git_dir" fetch origin "$git_branch" 2>/dev/null # use latest commit before today, we should not call the version *today* # because there might still be commits coming diff --git a/overlay/misskey/update.sh b/overlay/misskey/update.sh index 9ce62f9..5563150 100755 --- a/overlay/misskey/update.sh +++ b/overlay/misskey/update.sh @@ -14,7 +14,7 @@ json_set() { } old_rev=$(json_get '.rev') -new_rev=$(curl -L "https://api.github.com/repos/misskey-dev/misskey/releases" | jq ".[0].tag_name" -r) +new_rev=$(curl -L "https://api.github.com/repos/misskey-dev/misskey/releases" 2>/dev/null | jq ".[0].tag_name" -r) if [ "$new_rev" = "$old_rev" ]; then echo "misskey is up-to-date." @@ -23,4 +23,4 @@ fi json_set '.rev' "$new_rev" new_sha256=$(nix-prefetch fetchFromGitHub --owner misskey-dev --repo misskey --rev "$new_rev") -json_set '.sha256' "$new_sha256" \ No newline at end of file +json_set '.sha256' "$new_sha256"