mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-10 11:01:09 +01:00
`lib.pipe` strictly evaluates intermediate steps using `foldl'`. As a result, piping `(opts: opts.package.default or null)` → `(package: (tryEval package).value)` is ineffective because `opts.package.default` is evaluated before `tryEval` can catch exceptions. Instead, inline `opts.package.default` directly into the `tryEval` expression, ensuring missing package errors caught correctly. Resolves errors when building NixOS or nix-darwin docs that include Nixvim options. Adds a regression test. |
||
|---|---|---|
| .. | ||
| platforms | ||
| test-sources | ||
| utils | ||
| all-package-defaults.nix | ||
| default.nix | ||
| enable-except-in-tests.nix | ||
| extend.nix | ||
| extra-args.nix | ||
| extra-files.nix | ||
| failing-tests.nix | ||
| fetch-tests.nix | ||
| generated.nix | ||
| lib-tests.nix | ||
| lsp-servers.nix | ||
| main.nix | ||
| maintainers.nix | ||
| nixpkgs-mock.nix | ||
| nixpkgs-module.nix | ||
| no-flake.nix | ||
| plugins-by-name.nix | ||