1
0

Flakify initial commit for Haskell REPL

This commit is contained in:
2023-09-12 01:23:35 -04:00
commit 191fd847bb
4 changed files with 63 additions and 0 deletions

34
flake.nix Normal file
View File

@@ -0,0 +1,34 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
};
outputs = { self, nixpkgs }: {
devShell.x86_64-linux =
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
ghc = pkgs.haskell.packages.ghc924.ghcWithHoogle (self: with self;
[
relude
split
aeson
random
neat-interpolation
]
);
in
pkgs.mkShell {
buildInputs = with pkgs.haskellPackages; [
ghc
haskell-language-server
ghcid
hlint
];
};
};
}