invidyous
This commit is contained in:
parent
ce4a0b2486
commit
5efb7ad372
|
@ -38,7 +38,7 @@ in {
|
||||||
|
|
||||||
systemd.services.invidious.serviceConfig = {
|
systemd.services.invidious.serviceConfig = {
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RuntimeMaxSec = "1200";
|
RuntimeMaxSec = "4800";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts."invidious.owo.monster" = {
|
services.nginx.virtualHosts."invidious.owo.monster" = {
|
||||||
|
|
|
@ -7,5 +7,4 @@ final: prev: {
|
||||||
lsquic = final.callPackage ./invidious/lsquic.nix { };
|
lsquic = final.callPackage ./invidious/lsquic.nix { };
|
||||||
videojs = final.callPackage ./invidious/videojs.nix { };
|
videojs = final.callPackage ./invidious/videojs.nix { };
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,7 @@ fi
|
||||||
|
|
||||||
json_set '.invidious.version' "$new_version"
|
json_set '.invidious.version' "$new_version"
|
||||||
json_set '.invidious.rev' "$new_rev"
|
json_set '.invidious.rev' "$new_rev"
|
||||||
new_sha256=$(nix-prefetch -I 'nixpkgs=../../..' "$pkg")
|
new_sha256=$(nix-prefetch -I 'nixpkgs=<nixpkgs>' "$pkg")
|
||||||
json_set '.invidious.sha256' "$new_sha256"
|
json_set '.invidious.sha256' "$new_sha256"
|
||||||
commit_msg="$pkg: $old_version -> $new_version"
|
commit_msg="$pkg: $old_version -> $new_version"
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ else
|
||||||
if [ "$lsquic_old_version" != "$lsquic_new_version" ]; then
|
if [ "$lsquic_old_version" != "$lsquic_new_version" ]; then
|
||||||
info "Updating lsquic to $lsquic_new_version..."
|
info "Updating lsquic to $lsquic_new_version..."
|
||||||
json_set '.lsquic.version' "$lsquic_new_version"
|
json_set '.lsquic.version' "$lsquic_new_version"
|
||||||
lsquic_new_sha256=$(nix-prefetch -I 'nixpkgs=../../..' "${pkg}.lsquic")
|
lsquic_new_sha256=$(nix-prefetch -I 'nixpkgs=<nixpkgs>' "${pkg}.lsquic")
|
||||||
json_set '.lsquic.sha256' "$lsquic_new_sha256"
|
json_set '.lsquic.sha256' "$lsquic_new_sha256"
|
||||||
|
|
||||||
info "Updating boringssl..."
|
info "Updating boringssl..."
|
||||||
|
@ -85,12 +85,10 @@ else
|
||||||
boringssl_new_rev=$(curl -LSsf "https://github.com/litespeedtech/lsquic/raw/v${lsquic_new_version}/README.md" \
|
boringssl_new_rev=$(curl -LSsf "https://github.com/litespeedtech/lsquic/raw/v${lsquic_new_version}/README.md" \
|
||||||
| grep -Pom1 '(?<=^git checkout ).*')
|
| grep -Pom1 '(?<=^git checkout ).*')
|
||||||
json_set '.boringssl.rev' "$boringssl_new_rev"
|
json_set '.boringssl.rev' "$boringssl_new_rev"
|
||||||
boringssl_new_sha256=$(nix-prefetch -I 'nixpkgs=../../..' "${pkg}.lsquic.boringssl")
|
boringssl_new_sha256=$(nix-prefetch -I 'nixpkgs=<nixpkgs>' "${pkg}.lsquic.boringssl")
|
||||||
json_set '.boringssl.sha256' "$boringssl_new_sha256"
|
json_set '.boringssl.sha256' "$boringssl_new_sha256"
|
||||||
commit_msg="$commit_msg
|
commit_msg="$commit_msg
|
||||||
|
|
||||||
lsquic: $lsquic_old_version -> $lsquic_new_version"
|
lsquic: $lsquic_old_version -> $lsquic_new_version"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git commit --verbose --message "$commit_msg" -- versions.json shards.nix
|
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
"sha256": "sha256-EU6T9yQCdOLx98Io8o01rEsgxDFF/Xoy42LgPopD2/A="
|
"sha256": "sha256-EU6T9yQCdOLx98Io8o01rEsgxDFF/Xoy42LgPopD2/A="
|
||||||
},
|
},
|
||||||
"invidious": {
|
"invidious": {
|
||||||
"rev": "09942dee6621e7047a63dffcc61b3bbf78cef2c6",
|
"rev": "47cc26cb3c5862e6ae96f89882ee08c6a8185672",
|
||||||
"sha256": "sha256-0Cb1Qsn6vnrzd4pZm1GZxlVQNn5dYKUR/xWMCG37GSk=",
|
"sha256": "sha256-0Cb1Qsn6vnrzd4pZm1GZxlVQNn5dYKUR/xWMCG37GSk=",
|
||||||
"version": "unstable-2022-11-02"
|
"version": "unstable-2022-11-16"
|
||||||
},
|
},
|
||||||
"lsquic": {
|
"lsquic": {
|
||||||
"sha256": "sha256-hG8cUvhbCNeMOsKkaJlgGpzUrIx47E/WhmPIdI5F3qM=",
|
"sha256": "sha256-hG8cUvhbCNeMOsKkaJlgGpzUrIx47E/WhmPIdI5F3qM=",
|
||||||
|
|
Loading…
Reference in a new issue