mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-29 22:30:13 +02:00
flake.nix: refactoring using flake-parts
This commit is contained in:
parent
1f1065df1e
commit
31284ddabe
13 changed files with 320 additions and 202 deletions
28
flake-modules/packages.nix
Normal file
28
flake-modules/packages.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
perSystem = {
|
||||
pkgs,
|
||||
pkgsUnfree,
|
||||
config,
|
||||
modules,
|
||||
...
|
||||
}: {
|
||||
packages = let
|
||||
docs = {
|
||||
docs = pkgsUnfree.callPackage (import ../docs) {
|
||||
inherit modules;
|
||||
};
|
||||
};
|
||||
|
||||
man-docs = import ../man-docs {
|
||||
pkgs = pkgsUnfree;
|
||||
inherit modules;
|
||||
};
|
||||
|
||||
# TODO: deprecate (unused)
|
||||
helpers = import ../helpers pkgs;
|
||||
in
|
||||
docs
|
||||
// man-docs
|
||||
// helpers;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue