summary refs log tree commit diff
path: root/modules/services/misc/nix-daemon.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2009-07-23 23:25:50 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2009-07-23 23:25:50 +0000
commit32b311a0f52eeb9cfd5370799505ef96edaacf99 (patch)
tree63d0f3d01c201bda5a17970f12b1fefc6d2c1794 /modules/services/misc/nix-daemon.nix
parentdbd6ea7f63ef0d1eb68c142d2da9cda57ac33c93 (diff)
downloadnixpkgs-32b311a0f52eeb9cfd5370799505ef96edaacf99.tar
nixpkgs-32b311a0f52eeb9cfd5370799505ef96edaacf99.tar.gz
nixpkgs-32b311a0f52eeb9cfd5370799505ef96edaacf99.tar.bz2
nixpkgs-32b311a0f52eeb9cfd5370799505ef96edaacf99.tar.lz
nixpkgs-32b311a0f52eeb9cfd5370799505ef96edaacf99.tar.xz
nixpkgs-32b311a0f52eeb9cfd5370799505ef96edaacf99.tar.zst
nixpkgs-32b311a0f52eeb9cfd5370799505ef96edaacf99.zip
* Add gzip to the $PATH of nix-daemon, otherwise distributed builds
  don't work.  This is a regression wrt the trunk.

svn path=/nixos/branches/modular-nixos/; revision=16448
Diffstat (limited to 'modules/services/misc/nix-daemon.nix')
-rw-r--r--modules/services/misc/nix-daemon.nix32
1 files changed, 3 insertions, 29 deletions
diff --git a/modules/services/misc/nix-daemon.nix b/modules/services/misc/nix-daemon.nix
index f3c749ff480..3e435348f9d 100644
--- a/modules/services/misc/nix-daemon.nix
+++ b/modules/services/misc/nix-daemon.nix
@@ -63,12 +63,11 @@ let
         ";
       };
 
-
       daemonNiceLevel = mkOption {
         default = 2;
         description = "
-          nix dameon process priority. This priority propagates to build processes.
-          0 is default unix process priority. 20 is lowest.
+          Nix daemon process priority. This priority propagates to build processes.
+          0 is the default Unix process priority, 20 is the lowest.
         ";
       };
 
@@ -160,31 +159,6 @@ let
         else "")
         + conf;
       };
-
-
-      services = {
-        pulseaudio = {
-          enable = mkOption {
-            default = false;
-            description = ''
-              Whether to enable the PulseAudio system-wide audio server.
-              Note that the documentation recommends running PulseAudio
-              daemons per-user rather than system-wide on desktop machines.
-            '';
-          };
-
-          logLevel = mkOption {
-            default = "notice";
-            example = "debug";
-            description = ''
-              A string denoting the log level: one of
-              <literal>error</literal>, <literal>warn</literal>,
-              <literal>notice</literal>, <literal>info</literal>,
-              or <literal>debug</literal>.
-            '';
-          };
-        };
-      };
     };
   };
 
@@ -252,7 +226,7 @@ in
 
       script =
         ''
-          export PATH=${if config.nix.distributedBuilds then "${pkgs.openssh}/bin:" else ""}${pkgs.openssl}/bin:${nix}/bin:$PATH
+          export PATH=${if config.nix.distributedBuilds then "${pkgs.openssh}/bin:${pkgs.gzip}/bin:" else ""}${pkgs.openssl}/bin:${nix}/bin:$PATH
           ${config.nix.envVars}
           exec nice -n ${builtins.toString config.nix.daemonNiceLevel} ${nix}/bin/nix-worker --daemon > /dev/null 2>&1
         '';