mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Fix nixos-rebuild evaluation
This commit is contained in:
parent
c1cf0b7dd5
commit
8ef7b83ca7
@ -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 New Issue
Block a user