From 7ec9d90aabe4c65bc046ed6a62f1dd940927f2b1 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Tue, 1 Sep 2020 16:00:28 +0200 Subject: [PATCH] Fix build with libarchive-3.0.0.0 --- cabal.project | 2 +- ghcup.cabal | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cabal.project b/cabal.project index 8412ed7..d182f0d 100644 --- a/cabal.project +++ b/cabal.project @@ -19,6 +19,6 @@ package ghcup constraints: http-io-streams -brotli package libarchive - flags: +static + flags: -system-libarchive allow-newer: base, ghc-prim, template-haskell diff --git a/ghcup.cabal b/ghcup.cabal index 120723e..89a51ce 100644 --- a/ghcup.cabal +++ b/ghcup.cabal @@ -112,7 +112,7 @@ common io-streams build-depends: io-streams >=1.5 common libarchive - build-depends: libarchive >= 2.2.5.0 + build-depends: libarchive >= 3.0.0.0 common lzma build-depends: lzma >=0.0.0.3