lol

navidrome: 0.56.1 -> 0.57.0 (#421957)

authored by

Matthias Beyer and committed by
GitHub
f0d06998 0e0540af

+36 -3
+28
pkgs/by-name/na/navidrome/0001-test-fix-Use-bin-sh-as-mock_mpv.sh-interpreter-4301.patch
··· 1 + From 1a260f75baabc304ea398aa67d203dd9aee11525 Mon Sep 17 00:00:00 2001 2 + From: Chris Moultrie <821688+tebriel@users.noreply.github.com> 3 + Date: Wed, 2 Jul 2025 21:12:22 -0400 4 + Subject: [PATCH] test(fix): Use /bin/sh as mock_mpv.sh interpreter - 4301 5 + 6 + Not all systems have bash at `/bin/bash`. `/bin/sh` is POSIX and should 7 + be present on all systems making this much more portable. No bash 8 + features are currently used in the script so this change should be safe. 9 + --- 10 + core/playback/mpv/mpv_test.go | 2 +- 11 + 1 file changed, 1 insertion(+), 1 deletion(-) 12 + 13 + diff --git a/core/playback/mpv/mpv_test.go b/core/playback/mpv/mpv_test.go 14 + index 08432bef..20c02501 100644 15 + --- a/core/playback/mpv/mpv_test.go 16 + +++ b/core/playback/mpv/mpv_test.go 17 + @@ -372,7 +372,7 @@ goto loop 18 + ` 19 + } else { 20 + scriptExt = ".sh" 21 + - scriptContent = `#!/bin/bash 22 + + scriptContent = `#!/bin/sh 23 + echo "$0" 24 + for arg in "$@"; do 25 + echo "$arg" 26 + -- 27 + 2.49.0 28 +
+8 -3
pkgs/by-name/na/navidrome/package.nix
··· 18 18 19 19 buildGo124Module rec { 20 20 pname = "navidrome"; 21 - version = "0.56.1"; 21 + version = "0.57.0"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "navidrome"; 25 25 repo = "navidrome"; 26 26 rev = "v${version}"; 27 - hash = "sha256-Vq8qfBqxF/PVRtYYTsFydnJ7z/IuoNUWRWTLy/RM6xg="; 27 + hash = "sha256-KTgh+dA2YYPyNdGr2kYEUlYeRwNnEcSQlpQ7ZTbAjP0="; 28 28 }; 29 29 30 - vendorHash = "sha256-E7Q3wxUd5JAwERBKD2NZaVyj1kszOxvxeDY0s/fEDfY="; 30 + vendorHash = "sha256-/WeEimHCEQbTbCZ+4kXVJdHAa9PJEk1bG1d2j3V9JKM="; 31 31 32 32 npmRoot = "ui"; 33 33 ··· 64 64 postPatch = '' 65 65 patchShebangs ui/bin/update-workbox.sh 66 66 ''; 67 + 68 + patches = [ 69 + # Until https://github.com/navidrome/navidrome/pull/4302 is released 70 + ./0001-test-fix-Use-bin-sh-as-mock_mpv.sh-interpreter-4301.patch 71 + ]; 67 72 68 73 preBuild = '' 69 74 make buildjs