From b90495479309227125952cf95134b37bb8bec869 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Thu, 1 Apr 2010 14:53:17 +0000 Subject: [PATCH] Updated disnix service for the 0.1 release svn path=/nixos/trunk/; revision=20917 --- modules/services/misc/disnix.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/services/misc/disnix.nix b/modules/services/misc/disnix.nix index 886c86e7fabd..67d5df84701c 100644 --- a/modules/services/misc/disnix.nix +++ b/modules/services/misc/disnix.nix @@ -42,12 +42,11 @@ in startOn = "started dbus"; script = - '' - export ACTIVATION_SCRIPTS=${pkgs.disnix_activation_scripts}/libexec/disnix/activation-scripts - export PATH=${pkgs.nixUnstable}/bin + '' + export PATH=/var/run/current-system/sw/bin:/var/run/current-system/sw/sbin export HOME=/root - ${pkgs.disnix}/bin/disnix-service + ${pkgs.disnix}/bin/disnix-service --activation-modules-dir=${pkgs.disnix_activation_scripts}/libexec/disnix/activation-scripts ''; };