From 25c3c000f366276cfa0ec31f02421e2531d9839d Mon Sep 17 00:00:00 2001 From: Harendra Kumar Date: Tue, 14 Apr 2026 20:40:42 +0530 Subject: [PATCH 1/2] Remove PATH restriction from cirrus CI --- .cirrus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 9f55496..d7c95e4 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -96,8 +96,8 @@ task: packcheck_run_script: | # Commands like mount, sysctl for info require sbin - PTH=/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin + # PTH=/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin # Use "bash -c" instead of invoking directly to preserve quoted # arguments in PACKCHECK_COMMAND e.g. DOCSPEC_OPTIONS="--timeout 60". # Direct invocation would word-split on spaces inside quoted values. - bash -c "$PACKCHECK $PACKCHECK_COMMAND PATH=$PTH" + bash -c "$PACKCHECK $PACKCHECK_COMMAND" From 3f0f1d1dd8252a8e8b5256bc86428b46039d8dba Mon Sep 17 00:00:00 2001 From: Harendra Kumar Date: Tue, 14 Apr 2026 22:46:00 +0530 Subject: [PATCH 2/2] Install git on cirrus --- .cirrus.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index d7c95e4..7d54b96 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -75,9 +75,12 @@ task: # folder: ~/.local/bin # fingerprint_script: echo $HLINT_VERSION + # git is required for cabal files with git URLs deps_install_script: | + pkg update pkg install -y gmake pkg install -y bash + pkg install -y git packcheck_install_script: | if test ! -e "$PACKCHECK"