Skip to content

Commit 8eaceea

Browse files
committed
use Response Files for HPC arguments; delete unnecessary patch
1 parent ebb22fa commit 8eaceea

File tree

3 files changed

+3
-253
lines changed

3 files changed

+3
-253
lines changed

lib/cover-project.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ in pkgs.runCommand "project-coverage-report"
7272
local tixFile=$3
7373
7474
local hpcMarkupCmd=("hpc" "markup" "--destdir=$destDir")
75-
hpcMarkupCmd+=("--srcdirs-from=${srcDirsFile}")
76-
hpcMarkupCmd+=("--hpcdirs-from=${mixDirsFile}")
77-
hpcMarkupCmd+=("--includes-from=$modulesFile")
75+
hpcMarkupCmd+=("--srcdir=@${srcDirsFile}")
76+
hpcMarkupCmd+=("--hpcdir=@${mixDirsFile}")
77+
hpcMarkupCmd+=("--include=@$modulesFile")
7878
hpcMarkupCmd+=("$tixFile")
7979
8080
echo "''${hpcMarkupCmd[@]}"

overlays/bootstrap.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ in {
216216
++ fromUntil "8.10" "9.2" ./patches/ghc/ghc-8.10-global-unique-counters-in-rts.patch # backport of https://gitlab.haskell.org/ghc/ghc/-/commit/9a28680d2e23e7b25dd7254a439aea31dfae32d5
217217
++ fromUntil "9.2" "9.3" ./patches/ghc/ghc-9.2-global-unique-counters-in-rts.patch # backport of https://gitlab.haskell.org/ghc/ghc/-/commit/9a28680d2e23e7b25dd7254a439aea31dfae32d5
218218
++ fromUntil "8.10" "9.1" ./patches/ghc/issue-18708.patch # https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6554
219-
++ fromUntil "8.10" "9.0" ./patches/ghc/hpc-dirsfrom.patch # https://gitlab.haskell.org/ghc/ghc/-/merge_requests/8194
220219
# the following is a partial reversal of https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4391, to address haskell.nix#1227
221220
++ final.lib.optional (versionAtLeast "8.10" && versionLessThan "9.0" && final.targetPlatform.isAarch64) ./patches/ghc/mmap-next.patch
222221
++ final.lib.optional (versionAtLeast "8.10" && versionLessThan "9.0" && final.targetPlatform.isAndroid) ./patches/ghc/rts-android-jemalloc-qemu.patch

overlays/patches/ghc/hpc-dirsfrom.patch

Lines changed: 0 additions & 249 deletions
This file was deleted.

0 commit comments

Comments
 (0)