From 5367e6770cebecde42c1a65cd5f9314f394c4dcb Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 31 Jul 2025 13:02:18 +0100 Subject: [PATCH] subsurface: fix bad shebang in update script --- pkgs/applications/misc/subsurface/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/misc/subsurface/default.nix b/pkgs/applications/misc/subsurface/default.nix index 6387913ac373..cbb9e9b1d3aa 100644 --- a/pkgs/applications/misc/subsurface/default.nix +++ b/pkgs/applications/misc/subsurface/default.nix @@ -167,6 +167,7 @@ stdenv.mkDerivation { pushd $tmpdir git clone -b current https://github.com/subsurface/subsurface.git cd subsurface + sed -i '1s/#!\/bin\/bash/#!\/usr\/bin\/env bash/' ./scripts/get-version.sh # this returns 6.0.????-local new_version=$(./scripts/get-version.sh | cut -d '-' -f 1) new_rev=$(git rev-list -1 HEAD)