about summary refs log tree commit diff stats
path: root/flake
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-26 23:42:59 +0200
committerSoispha <soispha@vhack.eu>2023-08-26 23:42:59 +0200
commitccb2451b38f19c8483148e5cfe16a7fff016f627 (patch)
tree2cb3a5a8b06b4a0bba4cd795fc1fa6a2b0277488 /flake
parentRefactor(treewide): Abbreviate path names (diff)
downloadnixos-config-ccb2451b38f19c8483148e5cfe16a7fff016f627.tar.gz
nixos-config-ccb2451b38f19c8483148e5cfe16a7fff016f627.zip
Fix(flake/packages): Flatten nvim pkgs to satisfy `nix flake check`
Diffstat (limited to 'flake')
-rw-r--r--flake/packages/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/flake/packages/default.nix b/flake/packages/default.nix
index d182b9b3..27d52207 100644
--- a/flake/packages/default.nix
+++ b/flake/packages/default.nix
@@ -54,6 +54,7 @@
         )
     )
     self.nixosConfigurations;
+  output_neovim = lib.attrsets.mapAttrs' (name: value: lib.attrsets.nameValuePair "nvim_${name}" value) nvim;
 in
   {
     install-iso = nixos-generators.nixosGenerate {
@@ -75,6 +76,6 @@ in
       format = "iso";
     };
     nvim = nvim.tiamat;
-    neovim = nvim;
   }
   // output
+  // output_neovim