From 1319531f28ed5795516a7887dfc5f661b3727dc4 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Tue, 21 Sep 2010 09:16:47 +0000 Subject: [PATCH] Add system.path to PATH instead of overriding svn path=/nixos/trunk/; revision=23879 --- modules/services/printing/cupsd.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/services/printing/cupsd.nix b/modules/services/printing/cupsd.nix index 8599512a5f5..ebc0215d06d 100644 --- a/modules/services/printing/cupsd.nix +++ b/modules/services/printing/cupsd.nix @@ -134,10 +134,7 @@ in startOn = "started network-interfaces"; stopOn = "stopping network-interfaces"; - environment = { - # Cups scripts for printing (psto...) require awk, sed, grep, ... - PATH = "${config.system.path}/bin"; - }; + path = [ config.system.path ]; preStart = ''