mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-16 04:04:34 +02:00
docs: use lib.extend instead of patching nixpkgs
This speeds up evaluation and removes IFD. Additionally, this makes it easier to maintain these library changes, as we don't have to maintain static patches. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
04671a049a
commit
aa4afbeac2
3 changed files with 36 additions and 63 deletions
|
@ -1,14 +1,18 @@
|
|||
{
|
||||
perSystem =
|
||||
{
|
||||
pkgs,
|
||||
pkgsUnfree,
|
||||
config,
|
||||
rawModules,
|
||||
helpers,
|
||||
...
|
||||
}:
|
||||
{
|
||||
packages = import ../docs { inherit rawModules pkgs helpers; };
|
||||
packages = import ../docs {
|
||||
inherit rawModules helpers;
|
||||
# Building the docs evaluates each plugin's default package, some of which are unfree
|
||||
pkgs = pkgsUnfree;
|
||||
};
|
||||
|
||||
# Test that all packages build fine when running `nix flake check`.
|
||||
checks = config.packages;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue