From 3cc6346eb653d2241bf02f3a8f1bf8d52aae15ae Mon Sep 17 00:00:00 2001 From: Reinout Meliesie Date: Tue, 11 Mar 2025 15:15:34 +0100 Subject: [PATCH 1/2] Remove 'config.env' symlink creation in Bookwyrm systemd unit --- packages/bookwyrm/nixos-module.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/bookwyrm/nixos-module.nix b/packages/bookwyrm/nixos-module.nix index 07ba5f3..4b97889 100644 --- a/packages/bookwyrm/nixos-module.nix +++ b/packages/bookwyrm/nixos-module.nix @@ -15,7 +15,6 @@ with pkgs . kernelmaft ; [Service] # 'initdb' fails harmlessly if it has been run on the database before - ExecStartPre=${coreutils-full}/bin/ln -sf /etc/bookwyrm/config.env /var/lib/bookwyrm/.env ExecStartPre=${coreutils-full}/bin/ln -sf ${bookwyrm}/var/lib/bookwyrm/VERSION /var/lib/bookwyrm/ ExecStartPre=${bookwyrm}/bin/bookwyrm-env ${python311}/bin/python ${bookwyrm}/lib/python3.11/manage.py migrate ExecStartPre=-${bookwyrm}/bin/bookwyrm-env ${python311}/bin/python ${bookwyrm}/lib/python3.11/manage.py initdb From 5abc1744d1a32bb15c28f2901b10d99fe50922fa Mon Sep 17 00:00:00 2001 From: Reinout Meliesie Date: Tue, 11 Mar 2025 15:15:59 +0100 Subject: [PATCH 2/2] Update Bookwyrm package git revision to d81dbe07dd --- packages/bookwyrm/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/bookwyrm/package.nix b/packages/bookwyrm/package.nix index 096a5be..35fd32f 100644 --- a/packages/bookwyrm/package.nix +++ b/packages/bookwyrm/package.nix @@ -91,8 +91,8 @@ mkDerivation { domain = "kernelmaft.com/forgejo" ; owner = "zedfrigg" ; repo = "bookwyrm" ; - rev = "1e0d547db5f9a610e29c27c156d0a30da36a1c51" ; - hash = "sha256-zBq/8tLX5zGShP+RSBBSAYXvp4GD1x0JMXqeMbRgERw=" ; + rev = "d81dbe07dda1f447fbbb30cbed87a0ec6793faa2" ; + hash = "sha256-7NdDWX7lRzLs7m/e7gv9Irf4B5xdojAVcA3fjorJoJ4=" ; } ; dontPatch = true ;