From 1f1b5741a2a143f3c77260f31fe8b0b6ea8d1dc2 Mon Sep 17 00:00:00 2001 From: thomasjm Date: Wed, 25 Sep 2024 03:20:03 -0700 Subject: [PATCH] Fix haskell default.nix --- modules/kernels/haskell/default.nix | 2 -- modules/kernels/haskell/settings_schema.nix | 35 --------------------- 2 files changed, 37 deletions(-) delete mode 100644 modules/kernels/haskell/settings_schema.nix diff --git a/modules/kernels/haskell/default.nix b/modules/kernels/haskell/default.nix index 66e4ba1..0189156 100644 --- a/modules/kernels/haskell/default.nix +++ b/modules/kernels/haskell/default.nix @@ -26,8 +26,6 @@ let displayName = "Haskell"; kernelName = "haskell"; - settingsSchema = callPackage ./settings_schema.nix { inherit version; }; - packageOptions = snapshot; # Grab the meta from the library component diff --git a/modules/kernels/haskell/settings_schema.nix b/modules/kernels/haskell/settings_schema.nix deleted file mode 100644 index 2a825aa..0000000 --- a/modules/kernels/haskell/settings_schema.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib -, version -}: - -lib.optionals (builtins.compareVersions version "9.0" >= 0) [ - { - target = "lsp.haskell-language-server.enable"; - title = "Enable haskell-language-server"; - type = "boolean"; - defaultValue = true; - } - { - target = "lsp.haskell-language-server.debug"; - title = "Haskell-language-server: enable debug output"; - description = "Print debug output for the notebook language server."; - type = "boolean"; - defaultValue = false; - } - { - target = "lsp.haskell-language-server.super-debug"; - title = "Haskell-language-server: enable verbose debug output"; - description = "Print verbose debug output; intended for developers."; - type = "boolean"; - defaultValue = false; - } -] -++ [ - { - target = "enableHlintOutput"; - title = "Enable hlint warnings in code output."; - description = "Show hlint warnings as part of Jupyter kernel output. Normally you don't want this because it is provided by haskell-language-server."; - type = "boolean"; - defaultValue = false; - } -]