diff --git a/flake.nix b/flake.nix index 728ec2c..0ce27b0 100644 --- a/flake.nix +++ b/flake.nix @@ -20,6 +20,7 @@ go gotools poppler_utils #get first pdf page to png + cups imagemagick tailwindcss ]; @@ -72,6 +73,7 @@ environment.systemPackages = [ zineshop-pkg pkgs.poppler_utils #get first pdf page to png + pkgs.cups pkgs.imagemagick ]; @@ -102,7 +104,7 @@ WorkingDirectory = "/var/lib/zineshop"; ExecStart = pkgs.writeScript "start-zineshop" '' #! ${pkgs.bash}/bin/bash - PATH="$PATH:${lib.makeBinPath [ pkgs.poppler_utils pkgs.imagemagick ]}" + PATH="$PATH:${lib.makeBinPath [ pkgs.poppler_utils pkgs.cups pkgs.imagemagick ]}" ${zineshop-pkg}/bin/zineshop ''; Restart = "on-failure";