Skip to content

Commit 7a50238

Browse files
author
Marc Jakobi
committed
fix(nix): overlay
1 parent 05add4e commit 7a50238

File tree

1 file changed

+29
-30
lines changed

1 file changed

+29
-30
lines changed

flake.nix

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
}: let
3939
name = "haskell-snippets.nvim";
4040

41+
plugin-overlay = import ./nix/plugin-overlay.nix {
42+
inherit name self;
43+
};
44+
4145
supportedSystems = [
4246
"aarch64-linux"
4347
"aarch64-darwin"
@@ -53,10 +57,6 @@
5357
;
5458
};
5559

56-
plugin-overlay = import ./nix/plugin-overlay.nix {
57-
inherit name self;
58-
};
59-
6060
pkgs = import nixpkgs {
6161
inherit system;
6262
overlays = [
@@ -86,32 +86,31 @@
8686
zlib
8787
];
8888
};
89-
in
90-
{
91-
devShells = {
92-
default = devShell;
93-
inherit devShell;
94-
};
89+
in {
90+
devShells = {
91+
default = devShell;
92+
inherit devShell;
93+
};
9594

96-
packages = rec {
97-
default = haskell-snippets-nvim;
98-
inherit docgen;
99-
inherit
100-
(pkgs)
101-
haskell-snippets-nvim
102-
;
103-
};
95+
packages = rec {
96+
default = haskell-snippets-nvim;
97+
inherit docgen;
98+
inherit
99+
(pkgs)
100+
haskell-snippets-nvim
101+
;
102+
};
104103

105-
checks = {
106-
formatting = pre-commit-check;
107-
inherit
108-
(pkgs)
109-
nvim-stable-tests
110-
nvim-nightly-tests
111-
;
112-
};
113-
}
114-
// {
115-
overlays.default = plugin-overlay;
116-
});
104+
checks = {
105+
formatting = pre-commit-check;
106+
inherit
107+
(pkgs)
108+
nvim-stable-tests
109+
nvim-nightly-tests
110+
;
111+
};
112+
})
113+
// {
114+
overlays.default = plugin-overlay;
115+
};
117116
}

0 commit comments

Comments
 (0)