summary refs log tree commit diff
path: root/nixos/modules/services/misc/nix-daemon.nix
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-04-24 14:01:40 +0300
committerVladimír Čunát <vcunat@gmail.com>2016-04-25 16:44:37 +0200
commit70f5c840af9ecdb57ec97f6c56e5ce1f3939be1a (patch)
treeb7af1bfe467f9fa56e61120d9a5edcaefa45a148 /nixos/modules/services/misc/nix-daemon.nix
parent559a56320875a50950c4f789e199203aa1b7cd76 (diff)
downloadnixpkgs-70f5c840af9ecdb57ec97f6c56e5ce1f3939be1a.tar
nixpkgs-70f5c840af9ecdb57ec97f6c56e5ce1f3939be1a.tar.gz
nixpkgs-70f5c840af9ecdb57ec97f6c56e5ce1f3939be1a.tar.bz2
nixpkgs-70f5c840af9ecdb57ec97f6c56e5ce1f3939be1a.tar.lz
nixpkgs-70f5c840af9ecdb57ec97f6c56e5ce1f3939be1a.tar.xz
nixpkgs-70f5c840af9ecdb57ec97f6c56e5ce1f3939be1a.tar.zst
nixpkgs-70f5c840af9ecdb57ec97f6c56e5ce1f3939be1a.zip
nix-daemon service: Don't have the output in the `nix.package' option
1) It unnecessarily exposes implementation details.
2) It breaks all existing configs that have e.g.
   `nix.package = pkgs.nixUnstable;`.
Diffstat (limited to 'nixos/modules/services/misc/nix-daemon.nix')
-rw-r--r--nixos/modules/services/misc/nix-daemon.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix
index c84c67ff287..5400588d027 100644
--- a/nixos/modules/services/misc/nix-daemon.nix
+++ b/nixos/modules/services/misc/nix-daemon.nix
@@ -65,8 +65,8 @@ in
 
       package = mkOption {
         type = types.package;
-        default = pkgs.nix.out;
-        defaultText = "pkgs.nix.out";
+        default = pkgs.nix;
+        defaultText = "pkgs.nix";
         description = ''
           This option specifies the Nix package instance to use throughout the system.
         '';