about summary refs log tree commit diff stats
path: root/flake/packages
diff options
context:
space:
mode:
Diffstat (limited to 'flake/packages')
-rw-r--r--flake/packages/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/flake/packages/default.nix b/flake/packages/default.nix
index a8fc2d64..82924a25 100644
--- a/flake/packages/default.nix
+++ b/flake/packages/default.nix
@@ -23,7 +23,10 @@
         # NOTE: This is copied from `nixvim`, and could be achieved by setting
         # `config.wrapRc` to `true`. But I have yet to find a way to set this in this
         # context, but not in the general context.  <2024-11-09>
-        wrapped = config.build.package.override (prev: {
+        # NOTE: I'm not sure why we need `nvimPackage` instead of just the `package`
+        # attribute here, but the bare `package` attribute does not provide a `override`
+        # function. <2025-02-02>
+        wrapped = config.build.nvimPackage.override (prev: {
           wrapperArgs =
             (
               if lib.isString prev.wrapperArgs