Skip to content

[BUG] Ocamlls lsp broken #2751

@HPRIOR

Description

@HPRIOR
Field Description
Plugin lsp
Nixpkgs 24.11
Home Manager 24.11
  • [-] I have read the FAQ and my bug is not listed there.

Description

Error message
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'darwin-system-24.11.20241223.6c90912+darwin4.a35b08d'
         whose name attribute is located at /nix/store/nrwvqc2kgl7zvkhyjwg3cgh2jngs12jz-source/pkgs/stdenv/generic/make-derivation.nix:336:7

       … while evaluating attribute 'activationScript' of derivation 'darwin-system-24.11.20241223.6c90912+darwin4.a35b08d'
         at /nix/store/9w5mmnkypiqczdlvmc4l2hd4xc3m44bq-source/modules/system/default.nix:97:7:
           96|
           97|       activationScript = cfg.activationScripts.script.text;
             |       ^
           98|       activationUserScript = cfg.activationScripts.userScript.text;

       … while evaluating the option `system.activationScripts.script.text':

       … while evaluating definitions from `/nix/store/9w5mmnkypiqczdlvmc4l2hd4xc3m44bq-source/modules/system/activation-scripts.nix':

       … while evaluating the option `system.activationScripts.postActivation.text':

       … while evaluating definitions from `<unknown-file>':

       … while evaluating the option `home-manager.users.user.home.activation.checkFilesChanged.data':

       … while evaluating definitions from `/nix/store/mdzxa36ixdm9g8yli9h73izv3kpj7xjq-source/modules/files.nix':

       … while evaluating the option `home-manager.users.harryp.home.file."Library/Fonts/.home-manager-fonts-version".onChange':

       … while evaluating definitions from `/nix/store/mdzxa36ixdm9g8yli9h73izv3kpj7xjq-source/modules/targets/darwin/fonts.nix':

       … while evaluating the option `home-manager.users.user.programs.nixvim.extraPackages':

       … while evaluating definitions from `/nix/store/ql3nl734xmjib2i718y8yp26wqqwyikv-source/plugins/lsp/language-servers':

       … while evaluating the option `home-manager.users.user.programs.nixvim.plugins.lsp.servers.ocamlls.package':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: The option `home-manager.users.user.programs.nixvim.plugins.lsp.servers.ocamlls.package' was accessed but has no value defined. Try setting the option.

Minimal, Reproducible Example (MRE)

programs.nixvim = {
      enable = true;
      lsp = {
              enable = true;
              ocamlls.enable = true;
      };
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions