Created
October 24, 2022 10:56
-
-
Save amitaibu/2c0b8f08c656bf16ee877e1bf3204a3a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
# Execute: | |
# nix-shell --run 'make build/ihp-lib's | |
ihp = builtins.fetchGit { | |
url = "https://github.com/digitallyinduced/ihp.git"; | |
# ref = "refs/tags/v0.19.0"; | |
rev = "05f1eafbe897dfdbf8a77e5bd0673b1857f4e8c2"; | |
}; | |
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 | |
nodejs | |
# For testing concurrent requests. | |
parallel | |
]; | |
projectPath = ./.; | |
}; | |
in | |
haskellEnv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment