Make hashbang in Bookwyrm executable use bash package directly
This commit is contained in:
parent
03963af59e
commit
0d688022d9
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
} :
|
} :
|
||||||
|
|
||||||
with builtins ;
|
with builtins ;
|
||||||
|
with pkgs ;
|
||||||
with pkgs . kernelmaft . python ;
|
with pkgs . kernelmaft . python ;
|
||||||
with pkgs . python311Packages ;
|
with pkgs . python311Packages ;
|
||||||
with stdenv ;
|
with stdenv ;
|
||||||
|
@ -99,7 +100,7 @@ mkDerivation {
|
||||||
# Executables
|
# Executables
|
||||||
|
|
||||||
cat <<- EOF > $out/bin/bookwyrm
|
cat <<- EOF > $out/bin/bookwyrm
|
||||||
#!/run/current-system/sw/bin/sh
|
#!${bash}/bin/sh
|
||||||
|
|
||||||
export PYTHONPATH="$out/lib/python3.11/site-packages"
|
export PYTHONPATH="$out/lib/python3.11/site-packages"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue