Skip to content

Commit c182c87

Browse files
authored
Merge pull request cachix#444 from cachix/flake-parts-enabled-packages
flake-parts: add `enabledPackages` to the shell
2 parents 2849da0 + a741bc6 commit c182c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flake-module.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ in
7272
hooks.treefmt.package = lib.mkIf (options?treefmt) (lib.mkOverride 900 config.treefmt.build.wrapper);
7373
};
7474
pre-commit.devShell = pkgs.mkShell {
75-
nativeBuildInputs = [ cfg.settings.package ];
75+
nativeBuildInputs = cfg.settings.enabledPackages ++ [ cfg.settings.package ];
7676
shellHook = cfg.installationScript;
7777
};
7878
};

0 commit comments

Comments
 (0)