initial commit

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-10-26 11:47:17 +05:30
commit fcce234a10
15 changed files with 268 additions and 0 deletions

31
haskell/flake.nix Normal file
View File

@@ -0,0 +1,31 @@
{
description = "eulerfunt in haskell";
inputs = {
nixpkgs.url = github:nixos/nixpkgs/release-22.05;
utils.url = github:numtide/flake-utils;
};
outputs = { self, nixpkgs, utils }:
utils.lib.eachDefaultSystem
(system:
let
pkgs = import nixpkgs {
inherit system;
};
in
{
devShells = with pkgs; rec {
default = mkShell {
buildInputs = [ ghc ];
};
withLsp = mkShell {
buildInputs = [
ghc
haskell-language-server
];
};
};
}
);
}