Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
description = "cardano-db-sync";

nixConfig = {
abort-on-warn = true;
};

inputs = {
nixpkgs.follows = "haskellNix/nixpkgs-unstable";
utils.url = "github:numtide/flake-utils";
Expand Down Expand Up @@ -314,7 +318,7 @@
reinstallableLibGhc = false;
})

(pkgs.lib.mkIf pkgs.hostPlatform.isMusl
(pkgs.lib.mkIf pkgs.stdenv.hostPlatform.isMusl
(let
ghcOptions = [
# libpq static is pretty broken in nixpkgs. We can't rely on the
Expand Down Expand Up @@ -423,7 +427,7 @@
packages.cardano-db.components.tests.test-db.doCheck = false;
})

({ lib, pkgs, config, ... }: lib.mkIf pkgs.hostPlatform.isMacOS {
({ lib, pkgs, config, ... }: lib.mkIf pkgs.stdenv.hostPlatform.isMacOS {
# PostgreSQL tests fail in Hydra on MacOS with:
#
# FATAL: could not create shared memory segment: No space left on device
Expand Down
Loading