From 0d688022d99072718fb00bd789b35f345ab424fd Mon Sep 17 00:00:00 2001 From: Reinout Meliesie Date: Tue, 4 Mar 2025 12:28:03 +0100 Subject: [PATCH] Make hashbang in Bookwyrm executable use bash package directly --- bookwyrm.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bookwyrm.nix b/bookwyrm.nix index dfec431..650a33b 100644 --- a/bookwyrm.nix +++ b/bookwyrm.nix @@ -5,6 +5,7 @@ } : with builtins ; +with pkgs ; with pkgs . kernelmaft . python ; with pkgs . python311Packages ; with stdenv ; @@ -99,7 +100,7 @@ mkDerivation { # Executables cat <<- EOF > $out/bin/bookwyrm - #!/run/current-system/sw/bin/sh + #!${bash}/bin/sh export PYTHONPATH="$out/lib/python3.11/site-packages"