From c6e54b70ee0f6563bc063c78f8c3f3d5be96d12e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 27 Jan 2026 15:28:57 +0100 Subject: [PATCH] fix: use env instead of hardcoding bash path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Causes issues in Nix shells and derivations. Signed-off-by: Jakub SokoĊ‚owski --- env.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/env.sh b/env.sh index f90ba9a..697a426 100644 --- a/env.sh +++ b/env.sh @@ -1,8 +1,7 @@ -#!/bin/bash +#!/usr/bin/env bash # We use ${BASH_SOURCE[0]} instead of $0 to allow sourcing this file # and we fall back to a Zsh-specific special var to also support Zsh. REL_PATH="$(dirname ${BASH_SOURCE[0]:-${(%):-%x}})" ABS_PATH="$(cd ${REL_PATH}; pwd)" source ${ABS_PATH}/vendor/nimbus-build-system/scripts/env.sh -