From ae36903e73590d4da16131d1093c674ea38975c8 Mon Sep 17 00:00:00 2001 From: kalipso Date: Tue, 15 Apr 2025 16:41:23 +0200 Subject: [PATCH] add cups to path --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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";