Nix: allow building from pure-eval mode (#2427)

* default.nix: allow import with pure-eval enabled

* Update hercules-ci/gitignore

* shell.nix: fix import of default.nix
This commit is contained in:
Matt Votava
2022-08-15 20:44:02 -05:00
committed by GitHub
parent ba3ba9fd5b
commit f75e77cf60
4 changed files with 9 additions and 7 deletions
+4 -2
View File
@@ -1,3 +1,5 @@
{ system ? builtins.currentSystem }:
let
name =
"postgrest";
@@ -42,7 +44,7 @@ let
# Evaluated expression of the Nixpkgs repository.
pkgs =
import nixpkgs { inherit overlays; };
import nixpkgs { inherit overlays system; };
postgresqlVersions =
[
@@ -64,7 +66,7 @@ let
# Function that derives a fully static Haskell package based on
# nh2/static-haskell-nix
staticHaskellPackage =
import nix/static-haskell-package.nix { inherit nixpkgs compiler patches allOverlays; };
import nix/static-haskell-package.nix { inherit nixpkgs system compiler patches allOverlays; };
# Options passed to cabal in dev tools and tests
devCabalOptions =