NotAShelf / nvf

A highly modular, extensible and distro-agnostic Neovim configuration framework for Nix/NixOS.
https://notashelf.github.io/nvf/
MIT License
155 stars 24 forks source link

HM//NixOS module can't merge lists #328

Closed diniamo closed 2 months ago

diniamo commented 2 months ago

⚠️ Please verify that this bug has NOT been reported before.

👟 Reproduction steps

  1. Use the HM/NixOS module to configure nvf
  2. Set programs.nvf.settings.vim.optPlugins in 2 different files
  3. Build

👀 Expected behavior

  1. The lists are concatenated
  2. The build finishes

😓 Actual Behavior

An error occures, because the anything type can't merge 2 lists, due to this being non-deterministic, because the order would depend on the order the modules are evaluated.