Make hashbang in Bookwyrm executable use bash package directly

This commit is contained in:
Reinout Meliesie 2025-03-04 12:28:03 +01:00
parent 03963af59e
commit 0d688022d9
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -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"