Browse Source

Updated IHP to latest v1.0.1 (#8173)

Marc Scholten 2 years ago
parent
commit
d7ad1644f9
2 changed files with 2 additions and 5 deletions
  1. 1 4
      frameworks/Haskell/ihp/ihp.dockerfile
  2. 1 1
      frameworks/Haskell/ihp/src/default.nix

+ 1 - 4
frameworks/Haskell/ihp/ihp.dockerfile

@@ -7,11 +7,8 @@ WORKDIR /ihp
 RUN nix-env -i cachix
 RUN cachix use digitallyinduced
 
-# Warmup docker build cache
-RUN nix-shell -j auto --cores 0 --command "echo ok"
-
 # Build 
-RUN nix-build
+RUN nix-build -j auto --cores 0
 
 # Setup
 ENV DATABASE_URL=postgres://benchmarkdbuser:benchmarkdbpass@tfb-database:5432/hello_world

+ 1 - 1
frameworks/Haskell/ihp/src/default.nix

@@ -1,7 +1,7 @@
 let
     ihp = builtins.fetchGit {
         url = "https://github.com/digitallyinduced/ihp.git";
-        ref = "refs/tags/v0.20.0";
+        ref = "refs/tags/v1.0.1";
     };
     haskellEnv = import "${ihp}/NixSupport/default.nix" {
         ihp = ihp;