From f337e3d1cec3b5b394d3c1eda1049bacdbd81056 Mon Sep 17 00:00:00 2001 From: Rhys-T <108157737+Rhys-T@users.noreply.github.com> Date: Tue, 22 Oct 2024 12:05:50 -0400 Subject: [PATCH] lix-game.music: use versioned filename --- pkgs/lix-game/music.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/lix-game/music.nix b/pkgs/lix-game/music.nix index bb97a8f..642f105 100644 --- a/pkgs/lix-game/music.nix +++ b/pkgs/lix-game/music.nix @@ -1,4 +1,4 @@ -{ fetchzip, lib, common }: fetchzip { +{ fetchzip, lib, common }: fetchzip rec { pname = "${common.pname}-music"; # Upstream Last-Modified: 2023-04-15 ("Sat, 15 Apr 2023 20:58:14 GMT") # Snapshot taken on: 2024-09-02 @@ -6,7 +6,7 @@ # Upstream archive isn't versioned - make sure the hash doesn't change on us # See also: https://github.com/SimonN/LixD/issues/457 urls = [ - "https://media.githubusercontent.com/media/Rhys-T/nur-packages/f77995a2952eacba9bef8c0af1603119a906770a/lix-music.zip" + "https://media.githubusercontent.com/media/Rhys-T/nur-packages/78d0c2965aeefcdf611c56624698ecb512245e4f/lix-music-${version}.zip" "https://web.archive.org/web/20240902001641/https://www.lixgame.com/dow/lix-music.zip" # If all else fails, extract it from the binary release of the game and fix it up in postFetch: "https://github.com/SimonN/LixD/releases/download/v${common.version}/lix-${common.version}-linux64.zip"