Skip to content

Commit 0f8010c

Browse files
committed
Delete dead cabal file code
1 parent ee6f069 commit 0f8010c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/cover.nix

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ in stdenv.mkDerivation {
2626
find $1 -iwholename "*/hpc/vanilla/mix" -exec find {} -maxdepth 1 -type d -iwholename "*/mix/*" \; -quit
2727
}
2828
29-
findCabalFile() {
30-
find $1 -iname "*.cabal" -print -quit
31-
}
32-
3329
mkdir -p $out/share/hpc/mix/${identifier}
3430
mkdir -p $out/share/hpc/tix/${identifier}
3531
mkdir -p $out/share/hpc/html/${identifier}
@@ -49,7 +45,6 @@ in stdenv.mkDerivation {
4945
# Exclude test modules from tix file
5046
excludedModules=('Main')
5147
# Exclude test modules
52-
local cabalFile=$(findCabalFile $src)
5348
testModules="${with lib; concatStringsSep " " (foldl' (acc: test: acc ++ (getTestModulesFor test)) [] testsWithCoverage)}"
5449
for module in $testModules; do
5550
excludedModules+=("$module")

0 commit comments

Comments
 (0)