stylix: add ghc developer shell

Link: https://github.com/danth/stylix/pull/519
This commit is contained in:
NAHO 2024-08-21 18:31:56 +02:00
parent 708b2147c0
commit 807c81894e
No known key found for this signature in database
GPG key ID: 229CB671D09B95F5

View file

@ -111,13 +111,20 @@
};
} self.packages.${system};
devShells.default = pkgs.mkShell {
inherit (self.checks.${system}.git-hooks) shellHook;
devShells = {
default = pkgs.mkShell {
inherit (self.checks.${system}.git-hooks) shellHook;
packages = [
inputs.home-manager.packages.${system}.default
self.checks.${system}.git-hooks.enabledPackages
];
packages = [
inputs.home-manager.packages.${system}.default
self.checks.${system}.git-hooks.enabledPackages
];
};
ghc = pkgs.mkShell {
inputsFrom = [ self.devShells.${system}.default ];
packages = [ pkgs.ghc ];
};
};
packages = let