summary refs log tree commit diff
path: root/nixos/modules/services/x11/window-managers/xmonad.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-01 20:47:08 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-01 20:52:06 +0100
commitf3d94cfc23a2787772a369e2ca9e0cd94e72b8b3 (patch)
tree2501bf5c09108c836925aefc4674ebec0b508193 /nixos/modules/services/x11/window-managers/xmonad.nix
parentbf4cafd1ddbd7c396a9df6a5d0fb02f2b7d21896 (diff)
downloadnixlib-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar
nixlib-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.gz
nixlib-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.bz2
nixlib-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.lz
nixlib-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.xz
nixlib-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.zst
nixlib-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.zip
Revert "Add the tool "nixos-typecheck" that can check an option declaration to:"
This reverts commit cad8957eabcbf73062226d28366fd446c15c8737. It
breaks NixOps, but more importantly, such major changes to the module
system really need to be reviewed.
Diffstat (limited to 'nixos/modules/services/x11/window-managers/xmonad.nix')
-rw-r--r--nixos/modules/services/x11/window-managers/xmonad.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/modules/services/x11/window-managers/xmonad.nix b/nixos/modules/services/x11/window-managers/xmonad.nix
index d8acb824f7df..6af88d4f645b 100644
--- a/nixos/modules/services/x11/window-managers/xmonad.nix
+++ b/nixos/modules/services/x11/window-managers/xmonad.nix
@@ -16,7 +16,6 @@ in
     services.xserver.windowManager.xmonad = {
       enable = mkEnableOption "xmonad";
       haskellPackages = mkOption {
-        type = lib.types.packageSet;
         default = pkgs.haskellPackages;
         defaultText = "pkgs.haskellPackages";
         example = literalExample "pkgs.haskell.packages.ghc784";
@@ -29,9 +28,7 @@ in
       };
 
       extraPackages = mkOption {
-        type = lib.types.functionTo (lib.types.listOf lib.types.package);
         default = self: [];
-        defaultText = "self: []";
         example = literalExample ''
           haskellPackages: [
             haskellPackages.xmonad-contrib