From 4b2f9af9eaf2dcdd51aee936b858c29ba7b059ff Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Mon, 13 Aug 2018 20:49:03 +0300 Subject: [PATCH] Avoid GPL-3 libs haskell/cabal#4883 --- stack-nightly.yaml | 5 +++++ stack.yaml | 3 +++ 2 files changed, 8 insertions(+) diff --git a/stack-nightly.yaml b/stack-nightly.yaml index 011012e88d..7309fee50e 100644 --- a/stack-nightly.yaml +++ b/stack-nightly.yaml @@ -14,5 +14,10 @@ nix: - zlib - unzip +flags: + # https://github.com/haskell/cabal/issues/4883 + cabal-install: + native-dns: false + ghc-options: "$locals": -fhide-source-paths diff --git a/stack.yaml b/stack.yaml index b449f6a6a8..f03486aae7 100644 --- a/stack.yaml +++ b/stack.yaml @@ -16,6 +16,9 @@ flags: stack: hide-dependency-versions: true supported-build: true + # https://github.com/haskell/cabal/issues/4883 + cabal-install: + native-dns: false extra-deps: - Cabal-2.2.0.1@rev:0 - cabal-install-2.2.0.0@rev:1