From 185a9822eae2ce94cd354c8b47569fd11e9c26f1 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 2 Dec 2021 15:52:36 +0100 Subject: [PATCH] Fix FreeBSD 13 build --- .gitlab-ci.yml | 6 ++++++ cabal.project | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 59454fd..cafb48a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -217,6 +217,9 @@ variables: - .freebsd13 - .root_cleanup before_script: + - sudo pkg update + - sudo pkg install --yes compat12x-amd64 + - sudo ln -s libncurses.so.6 /usr/local/lib/libncurses.so.6.2 - ./.gitlab/before_script/freebsd/install_deps.sh .test_ghcup_version:windows: @@ -595,6 +598,9 @@ release:freebsd13: - .release_ghcup - .root_cleanup before_script: + - sudo pkg update + - sudo pkg install --yes compat12x-amd64 + - sudo ln -s libncurses.so.6 /usr/local/lib/libncurses.so.6.2 - ./.gitlab/before_script/freebsd/install_deps.sh variables: ARTIFACT: "x86_64-portbld-freebsd-ghcup" diff --git a/cabal.project b/cabal.project index 019d44d..0471137 100644 --- a/cabal.project +++ b/cabal.project @@ -15,7 +15,8 @@ source-repository-package constraints: http-io-streams -brotli, any.Cabal ==3.6.2.0, - any.aeson >= 2.0.1.0 + any.aeson >= 2.0.1.0, + streamly == 0.8.0 package libarchive flags: -system-libarchive