mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
fix: fix formatting on simple template
This commit is contained in:
parent
0778266e44
commit
82a7d666f5
1 changed files with 11 additions and 14 deletions
|
@ -6,26 +6,23 @@
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs = {
|
||||||
{ nixpkgs
|
nixpkgs,
|
||||||
, nixvim
|
nixvim,
|
||||||
, flake-utils
|
flake-utils,
|
||||||
, ...
|
...
|
||||||
} @ inputs:
|
} @ inputs: let
|
||||||
let
|
config = import ./config; # import the module directly
|
||||||
config = import ./config; # import the module directly
|
in
|
||||||
in
|
flake-utils.lib.eachDefaultSystem (system: let
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
|
||||||
let
|
|
||||||
nixvimLib = nixvim.lib.${system};
|
nixvimLib = nixvim.lib.${system};
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs {inherit system;};
|
||||||
nixvim' = nixvim.legacyPackages.${system};
|
nixvim' = nixvim.legacyPackages.${system};
|
||||||
nvim = nixvim'.makeNixvimWithModule {
|
nvim = nixvim'.makeNixvimWithModule {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
module = config;
|
module = config;
|
||||||
};
|
};
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
checks = {
|
checks = {
|
||||||
# Run `nix flake check .` to verify that your config is not broken
|
# Run `nix flake check .` to verify that your config is not broken
|
||||||
default = nixvimLib.check.mkTestDerivationFromNvim {
|
default = nixvimLib.check.mkTestDerivationFromNvim {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue