nixos/shells/haskell/flake.nix

25 lines
496 B
Nix

{
description = "";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs =
{ self, nixpkgs, ... }:
let
system = "x86_64-linux";
in
{
devShells."${system}".default =
let
pkgs = import nixpkgs { inherit system; };
in
pkgs.mkShell {
packages = with pkgs; [
ghc
haskell-language-server
haskellPackages.recursion-schemes
];
};
};
}