Files
eulerfunt/haskell/flake.nix
Amneesh Singh fcce234a10 initial commit
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2022-10-26 11:51:44 +05:30

32 lines
664 B
Nix

{
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
];
};
};
}
);
}