2023-04-16 10:31:32 +00:00
|
|
|
let
|
|
|
|
ihp = builtins.fetchGit {
|
|
|
|
url = "https://github.com/digitallyinduced/ihp.git";
|
2023-04-16 13:54:34 +00:00
|
|
|
rev = "c049d0e3f0f1c7fcc80f275b8307446ece00bcf0";
|
2023-04-16 10:31:32 +00:00
|
|
|
};
|
|
|
|
haskellEnv = import "${ihp}/NixSupport/default.nix" {
|
|
|
|
ihp = ihp;
|
|
|
|
haskellDeps = p: with p; [
|
|
|
|
cabal-install
|
|
|
|
base
|
|
|
|
wai
|
|
|
|
text
|
|
|
|
hlint
|
|
|
|
p.ihp
|
|
|
|
];
|
|
|
|
otherDeps = p: with p; [
|
|
|
|
# Native dependencies, e.g. imagemagick
|
|
|
|
];
|
|
|
|
projectPath = ./.;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
haskellEnv
|