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:
traxys 2024-02-22 08:22:21 +01:00 committed by GitHub
parent 66c019d638
commit 9cd3721adf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 91 additions and 24 deletions

View file

@ -34,6 +34,7 @@
cat \
${./nixvim-header-start.5} \
${mkMDSection ../user-guide/helpers.md} \
${mkMDSection ../user-guide/extending-config.md} \
${mkMDSection ../user-guide/faq.md} \
${./nixvim-header-end.5} \
>$out/nixvim-header.5