diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-04-13 15:54:34 +0200 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-04-13 15:54:34 +0200 |
commit | 99e159d679c9ae5a270c263c295e321d3a3659c6 (patch) | |
tree | 2a0168902933c27d72c1e0ac9b992d493c480413 /modules/user/devhell | |
parent | 9a696716886bd5fc8fb1c8746a40c5aea58d6b3d (diff) |
modules/user/devhell: fix eval … again
Mistyped with my evaluation fix and added lib.optional instead of lib.optionals, so a list got into systemPackages which breaks evaluation in a hard to debug way (and also made me discover a hillarious segfault in nix).
Diffstat (limited to 'modules/user/devhell')
-rw-r--r-- | modules/user/devhell/profiles/services.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/user/devhell/profiles/services.nix b/modules/user/devhell/profiles/services.nix index 591f5055..78c9a15e 100644 --- a/modules/user/devhell/profiles/services.nix +++ b/modules/user/devhell/profiles/services.nix @@ -85,9 +85,9 @@ in { services.xserver.windowManager.i3 = { enable = true; package = pkgs.i3-gaps; - extraPackages = with pkgs; [ polybar i3status-rust i3blocks-gaps rofi ] - ++ lib.optional (pkgs ? i3-auto-layout) [ pkgs.i3-auto-layout ]; - # FIXME: lib.optional construct can be removed if i3-auto-layout is in unstable + extraPackages = with pkgs; [ + polybar i3status-rust i3blocks-gaps rofi i3-auto-layout + ]; }; services.journald.extraConfig = '' |