From 6dff6c5be701aaabfae5db319a0aff260f4b47b9 Mon Sep 17 00:00:00 2001 From: Marc Scholten Date: Mon, 24 Jul 2023 13:28:04 +0200 Subject: [PATCH] Allow pure nix builds --- flake-module.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake-module.nix b/flake-module.nix index f12fa2cc0..2d70fc77e 100644 --- a/flake-module.nix +++ b/flake-module.nix @@ -110,6 +110,8 @@ ihpFlake: includeDevTools = false; # Set optimized = true to get more optimized binaries, but slower build times optimized = true; + ghc = ghcCompiler; + pkgs = pkgs; }; unoptimized-prod-server = import "${ihp}/NixSupport/default.nix" { @@ -119,6 +121,8 @@ ihpFlake: projectPath = cfg.projectPath; includeDevTools = false; optimized = false; + ghc = ghcCompiler; + pkgs = pkgs; };