nix: overwrote devShells from haskell-nix

resolves #6
This commit is contained in:
Fiscal Velvet Poet 2024-01-23 15:25:13 +10:00
parent e5f3b9e050
commit 85f4b39a07
Signed by: fiscalvelvetpoet
GPG key ID: D8EBFD58B023BD47

View file

@ -17,13 +17,14 @@
};
flake = pkgs.hsPkgs.flake { };
in
flake // {
{
packages.default = flake.packages."skeleton-web:exe:site";
apps.default = {
type = "app";
program = "${flake.packages."skeleton-web:exe:site"}/bin/site";
};
devShell = pkgs.callPackage ./shell.nix {
# Overwrite devShells being inported from haskell-nix
devShells.default = pkgs.callPackage ./shell.nix {
inherit (haskellNix.legacyPackages."${pkgs.system}") stylish-haskell;
};
}