Skip to content

Commit

Permalink
Skip check that fails on hadrian
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Nov 21, 2022
1 parent 1b5d3a5 commit 13c535a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/ghc/default.nix
Expand Up @@ -463,11 +463,11 @@ stdenv.mkDerivation (rec {
echo "ERROR: Missing file $out/bin/${targetPrefix}ghc-pkg"
exit 1
fi
${ lib.optionalString (!useHadrian) ''
if [[ ! -d "$out/lib/${targetPrefix}ghc-${version}" ]]; then
echo "ERROR: Missing directory $out/lib/${targetPrefix}ghc-${version}"
exit 1
fi
${ lib.optionalString (!useHadrian) ''
if (( $(ls -1 "$out/lib/${targetPrefix}ghc-${version}" | wc -l) < 30 )); then
echo "ERROR: Expected more files in $out/lib/${targetPrefix}ghc-${version}"
exit 1
Expand Down

0 comments on commit 13c535a

Please sign in to comment.