day2: update - use implement ordering like normal people

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-12-05 19:38:51 +05:30
parent 4c74b44b0d
commit 664cc4f6f8
2 changed files with 31 additions and 53 deletions

View File

@@ -13,18 +13,18 @@
pkgs = import nixpkgs {
inherit system;
};
src = ./.;
in
{
devShells = with pkgs; rec {
default = mkShell {
buildInputs = [ ghc ];
};
withLsp = mkShell {
buildInputs = [
ghc
haskell-language-server
];
};
with pkgs; {
devShells.default = mkShell {
buildInputs = [
ghc
haskell-language-server
];
};
apps.default = {
type = "app";
program = "${ghc}/bin/runhaskell";
};
}
);