mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
Don't set 'config.xorg = {}'
This makes memoization of Nixpkgs evaluation less effective, since some Nixpkgs invocations may have 'config = {}' while others may have 'config = { xorg = {}; }'. Instead set 'config = {}'.
This commit is contained in:
parent
856d9c2b49
commit
dddcd10ecc
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ in
|
|||
knownVideoDrivers;
|
||||
in optional (driver != null) ({ inherit name; modules = []; driverName = name; } // driver));
|
||||
|
||||
nixpkgs.config.xorg = optionalAttrs (elem "vboxvideo" cfg.videoDrivers) { abiCompat = "1.18"; };
|
||||
nixpkgs.config = optionalAttrs (elem "vboxvideo" cfg.videoDrivers) { xorg.abiCompat = "1.18"; };
|
||||
|
||||
assertions = [
|
||||
{ assertion = config.security.polkit.enable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue