diff options
author | Sophie Tauchert <sophie@999eagle.moe> | 2023-07-31 23:47:05 +0200 |
---|---|---|
committer | Sophie Tauchert <sophie@999eagle.moe> | 2023-08-10 16:11:37 +0200 |
commit | 983cc8fa111cc7874a066f5532afae8a08f47032 (patch) | |
tree | bac35986f0cec21b32fdf319a1afd3bb20594006 /pkgs/servers/invidious | |
parent | 3d6ebeb283be256f008541ce2b089eb5fb0e4e01 (diff) |
invidious: unstable-2023-06-06 -> unstable-2023-08-07
Diffstat (limited to 'pkgs/servers/invidious')
-rw-r--r-- | pkgs/servers/invidious/default.nix | 14 | ||||
-rw-r--r-- | pkgs/servers/invidious/versions.json | 6 |
2 files changed, 12 insertions, 8 deletions
diff --git a/pkgs/servers/invidious/default.nix b/pkgs/servers/invidious/default.nix index 7efeb5d9c39d9..0b1cea5fd689a 100644 --- a/pkgs/servers/invidious/default.nix +++ b/pkgs/servers/invidious/default.nix @@ -97,12 +97,16 @@ crystal.buildCrystalPackage rec { cp -r config/sql $out/share/invidious/config ''; - # Invidious tries to open config/config.yml and connect to the database, even - # when running --help. This specifies a minimal configuration in an - # environment variable. Even though the database is bogus, --help still - # works. + # Invidious tries to open and validate config/config.yml, even when + # running --help. This specifies a minimal configuration in an + # environment variable. Even though the database and hmac_key are + # bogus, --help still works. installCheckPhase = '' - INVIDIOUS_CONFIG="database_url: sqlite3:///dev/null" $out/bin/invidious --help + INVIDIOUS_CONFIG="$(cat <<EOF + database_url: sqlite3:///dev/null + hmac_key: "this-is-required" + EOF + )" $out/bin/invidious --help ''; passthru = { diff --git a/pkgs/servers/invidious/versions.json b/pkgs/servers/invidious/versions.json index 860bd4ce2aeb0..f2bc1e7af4d8d 100644 --- a/pkgs/servers/invidious/versions.json +++ b/pkgs/servers/invidious/versions.json @@ -4,9 +4,9 @@ "sha256": "sha256-EU6T9yQCdOLx98Io8o01rEsgxDFF/Xoy42LgPopD2/A=" }, "invidious": { - "rev": "545a5937d87d31622e87bb2ba8151f8aecd66c81", - "sha256": "sha256-1Ra3nLO2DsnTvyovteF0cOIl07GHbJyPbTYBRIyKuAs=", - "version": "unstable-2023-06-06" + "rev": "34508966027fce3f460d9670eeecef67b92565a0", + "sha256": "sha256-z+6YHhESb0Ws9DRaVH4AR2i/SaWgM9OhTzxdY1bkv/0=", + "version": "unstable-2023-08-07" }, "lsquic": { "sha256": "sha256-hG8cUvhbCNeMOsKkaJlgGpzUrIx47E/WhmPIdI5F3qM=", |