chore(nix): formatted outputs.nix

This commit is contained in:
Fiscal Velvet Poet 2024-08-13 19:23:43 +10:00
parent 3497666514
commit a7c888a2d5
Signed by: fiscalvelvetpoet
GPG key ID: D8EBFD58B023BD47

View file

@ -1,11 +1,15 @@
{ self, nixpkgs, utils, haskellNix }@ inputs:
utils.lib.eachDefaultSystem (system:
let
{
self,
nixpkgs,
utils,
haskellNix,
} @ inputs:
utils.lib.eachDefaultSystem (
system: let
overlay = self: _: {
hsPkgs =
self.haskell-nix.project' rec {
hsPkgs = self.haskell-nix.project' rec {
src = ./.;
compiler-nix-name = "ghc928";
compiler-nix-name = "ghc944";
};
};
pkgs = import nixpkgs {
@ -15,9 +19,8 @@
overlay
];
};
flake = pkgs.hsPkgs.flake { };
in
{
flake = pkgs.hsPkgs.flake {};
in {
packages.default = flake.packages."skeleton-web:exe:site";
apps.default = {
type = "app";
@ -28,4 +31,4 @@
inherit (haskellNix.legacyPackages."${pkgs.system}") stylish-haskell;
};
}
)
)