22 lines
412 B
Nix
22 lines
412 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
let
|
|
haskellPackages = pkgs.haskellPackages;
|
|
site = pkgs.callPackage ./default.nix {};
|
|
shell = pkgs.buildEnv {
|
|
name = "site-shell";
|
|
paths = [];
|
|
buildInputs = [
|
|
haskellPackages.ghcid
|
|
haskellPackages.hasktags
|
|
(haskellPackages.ghcWithHoogle (h: site.buildInputs ++ site.propagatedBuildInputs))
|
|
];
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
site = site;
|
|
shell = shell;
|
|
}
|