diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-02-02 19:05:23 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-02-02 19:05:23 +0100 |
commit | 073b33bc7e7ece0cc84d6b0510b8f2ae4b1592d5 (patch) | |
tree | c7fefbf901edec24d944073b60d8bfc0298c768b | |
parent | refactor(pkgs/screenshot_persistent): Migrate to `writeShellApplication` (diff) | |
download | nixos-config-073b33bc7e7ece0cc84d6b0510b8f2ae4b1592d5.zip |
fix(flake/packages): Use correct nvim package to override
-rw-r--r-- | flake/packages/default.nix | 5 |
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 |