File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 1414 [
1515 ../modules/all-modules.nix
1616 {
17- config = moduleOptions //
18- {
19- _module . args . pkgs = pkgs ;
20- _module . args . gitignore-nix-src = gitignore-nix-src ;
21- package = lib . mkDefault pre-commit ;
22- tools = lib . mkDefault ( builtinStuff . tools // tools ) ;
23- } // ( if isFlakes
24- then { rootSrc = src ; }
25- else {
26- rootSrc = gitignore-nix-src . lib . gitignoreSource src ;
27- } ) ;
17+ config = lib . mkMerge [
18+ moduleOptions
19+ {
20+ _module . args = { inherit pkgs gitignore-nix-src ; } ;
21+ package = lib . mkDefault pre-commit ;
22+ tools = lib . mkDefault ( builtinStuff . tools // tools ) ;
23+ rootSrc =
24+ if isFlakes
25+ then src
26+ else gitignore-nix-src . lib . gitignoreSource src ;
27+ }
28+ ] ;
2829 }
2930 ] ++ imports ;
3031 } ;
You can’t perform that action at this time.
0 commit comments