Initial project setup
This commit is contained in:
22
default.nix
Normal file
22
default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
let
|
||||
ihp = builtins.fetchGit {
|
||||
url = "https://github.com/digitallyinduced/ihp.git";
|
||||
ref = "refs/tags/v0.20.0";
|
||||
};
|
||||
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
|
||||
Reference in New Issue
Block a user