Compare commits

...

2 commits

2 changed files with 7 additions and 5 deletions

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"

View file

@ -1,11 +1,12 @@
{ pkgs , ... } :
with pkgs ;
with pkgs . kernelmaft ;
{
nixpkgs = {
overlays = [
( self : super :
with pkgs ;
{
kernelmaft = {
@ -54,13 +55,13 @@
systemd = {
units = {
bookwyrm = {
"bookwyrm.service" = {
text = ''
[Unit]
After=network.target
[Service]
ExecStart=$out/bin/bookwyrm
ExecStart=${bookwyrm}/bin/bookwyrm
WorkingDirectory=/var/lib/bookwyrm
'' ;
} ;