Skip to content

Commit

Permalink
Merge pull request #444 from cachix/flake-parts-enabled-packages
Browse files Browse the repository at this point in the history
flake-parts: add `enabledPackages` to the shell
  • Loading branch information
domenkozar authored May 13, 2024
2 parents 2849da0 + a741bc6 commit c182c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ in
hooks.treefmt.package = lib.mkIf (options?treefmt) (lib.mkOverride 900 config.treefmt.build.wrapper);
};
pre-commit.devShell = pkgs.mkShell {
nativeBuildInputs = [ cfg.settings.package ];
nativeBuildInputs = cfg.settings.enabledPackages ++ [ cfg.settings.package ];
shellHook = cfg.installationScript;
};
};
Expand Down

0 comments on commit c182c87

Please sign in to comment.