mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 00:48:58 +02:00
standalone: Allow to extend a standalone derivation with a new module (#1142)
This adds the `nixvimExtend` attribute to the generated standalone derivation, this attribute takes a module as an argument and returns a new standalone derivation with the initial module & the extended module merged together.
This commit is contained in:
parent
66c019d638
commit
9cd3721adf
6 changed files with 91 additions and 24 deletions
|
@ -25,6 +25,10 @@
|
|||
inherit makeNixvimWithModule;
|
||||
};
|
||||
|
||||
extend = import ../tests/extend.nix {
|
||||
inherit pkgs makeNixvimWithModule;
|
||||
};
|
||||
|
||||
enable-except-in-tests = import ../tests/enable-except-in-tests.nix {
|
||||
inherit pkgs makeNixvimWithModule;
|
||||
inherit (self.lib.${system}.check) mkTestDerivationFromNixvimModule;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue