Skip to content

Commit e92cdc0

Browse files
authored
Actually use gitignore (#649)
1 parent f8fdf2a commit e92cdc0

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

nix/default.nix

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,19 @@ let
1212
});
1313
};
1414
};
15+
gitignoreSource = (import sources.gitignore { inherit (pkgs) lib; }).gitignoreSource;
1516
extended = haskellPackages:
1617
haskellPackages.extend (pkgs.haskell.lib.packageSourceOverrides {
17-
haskell-language-server = ../.;
18-
ghcide = ../ghcide;
19-
hie-compat = ../ghcide/hie-compat;
20-
hls-plugin-api = ../hls-plugin-api;
21-
hls-tactics-plugin = ../plugins/tactics;
22-
hls-hlint-plugin = ../plugins/hls-hlint-plugin;
18+
haskell-language-server = gitignoreSource ../.;
19+
ghcide = gitignoreSource ../ghcide;
20+
hie-compat = gitignoreSource ../ghcide/hie-compat;
21+
hls-plugin-api = gitignoreSource ../hls-plugin-api;
22+
hls-tactics-plugin = gitignoreSource ../plugins/tactics;
23+
hls-hlint-plugin = gitignoreSource ../plugins/hls-hlint-plugin;
2324
});
2425
in
2526
{
26-
inherit (import sources.gitignore { inherit (pkgs) lib; }) gitignoreSource;
27+
inherit gitignoreSource;
2728
ourHaskell = pkgs.haskell // {
2829
packages = pkgs.haskell.packages // {
2930
# relax upper bounds on ghc 8.10.x versions (and skip running tests)

0 commit comments

Comments
 (0)