mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Fix nixos-rebuild evaluation
This commit is contained in:
parent
c1cf0b7dd5
commit
8ef7b83ca7
2 changed files with 3 additions and 2 deletions
|
@ -44,9 +44,10 @@ in {
|
|||
};
|
||||
|
||||
environment.gnome3.packageSet = mkOption {
|
||||
default = pkgs.gnome3;
|
||||
default = null;
|
||||
example = literalExample "pkgs.gnome3_10";
|
||||
description = "Which Gnome 3 package set to use.";
|
||||
apply = p: if p == null then pkgs.gnome3 else p;
|
||||
};
|
||||
|
||||
environment.gnome3.excludePackages = mkOption {
|
||||
|
|
|
@ -5,8 +5,8 @@ with lib;
|
|||
let
|
||||
|
||||
cfg = config.services.xserver.displayManager;
|
||||
gdm = pkgs.gnome3_12.gdm; # gdm 3.10 not supported
|
||||
gnome3 = config.environment.gnome3.packageSet;
|
||||
gdm = gnome3.gdm;
|
||||
|
||||
in
|
||||
|
||||
|
|
Loading…
Reference in a new issue