From 0fcef907cc0da66dce00aa939a7a42fc96b0fc1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Koz=C5=82owski?= Date: Fri, 22 Apr 2022 15:00:22 +0200 Subject: [PATCH] Support building on mac --- feedback/package.yaml | 1 + nix/overlay.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/feedback/package.yaml b/feedback/package.yaml index d2e57b2..5a88275 100644 --- a/feedback/package.yaml +++ b/feedback/package.yaml @@ -39,6 +39,7 @@ executables: ghc-options: - -threaded - -rtsopts + - -optP-Wno-nonportable-include-path # For macos # -N3: Use three threads, because we only need three threads: # 1. FS Notify listener # 2. 'processWorker' diff --git a/nix/overlay.nix b/nix/overlay.nix index 799a1df..d86209e 100644 --- a/nix/overlay.nix +++ b/nix/overlay.nix @@ -38,6 +38,7 @@ in "--ghc-options=-Wredundant-constraints" "--ghc-options=-Wcpp-undef" "--ghc-options=-Werror" + "--ghc-options=-optP-Wno-nonportable-include-path" # For macos ]; # Ugly hack because we can't just add flags to the 'test' invocation. # Show test output as we go, instead of all at once afterwards.