tie/shell.nix

14 lines
274 B
Nix
Raw Normal View History

2022-02-27 06:49:03 +03:00
{ pkgs ? import <nixpkgs> {}}:
let
project = pkgs.haskellPackages.callPackage ./default.nix {};
in
pkgs.mkShell {
name = project.pname;
version = project.version;
buildInputs = with pkgs; project.env.nativeBuildInputs ++ [
ghc
cabal-install
ghcid
];
}