Compare commits
No commits in common. "69d0e632479252c29f1c0913b1ef67cec2561552" and "03963af59e25b8e661e3d5844ff6d52e87e15082" have entirely different histories.
69d0e63247
...
03963af59e
2 changed files with 5 additions and 7 deletions
|
@ -5,7 +5,6 @@
|
|||
} :
|
||||
|
||||
with builtins ;
|
||||
with pkgs ;
|
||||
with pkgs . kernelmaft . python ;
|
||||
with pkgs . python311Packages ;
|
||||
with stdenv ;
|
||||
|
@ -100,7 +99,7 @@ mkDerivation {
|
|||
# Executables
|
||||
|
||||
cat <<- EOF > $out/bin/bookwyrm
|
||||
#!${bash}/bin/sh
|
||||
#!/run/current-system/sw/bin/sh
|
||||
|
||||
export PYTHONPATH="$out/lib/python3.11/site-packages"
|
||||
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
{ pkgs , ... } :
|
||||
|
||||
with pkgs ;
|
||||
with pkgs . kernelmaft ;
|
||||
|
||||
{
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
( self : super :
|
||||
with pkgs ;
|
||||
|
||||
{
|
||||
kernelmaft = {
|
||||
|
||||
|
@ -55,13 +54,13 @@ with pkgs . kernelmaft ;
|
|||
|
||||
systemd = {
|
||||
units = {
|
||||
"bookwyrm.service" = {
|
||||
bookwyrm = {
|
||||
text = ''
|
||||
[Unit]
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=${bookwyrm}/bin/bookwyrm
|
||||
ExecStart=$out/bin/bookwyrm
|
||||
WorkingDirectory=/var/lib/bookwyrm
|
||||
'' ;
|
||||
} ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue