nix: update package list from hackage before building

This prevents errors in CI after updating the hackage index-state.
This commit is contained in:
Wolfgang Walther
2024-11-12 21:13:31 +01:00
committed by Wolfgang Walther
parent 09adb44cc8
commit 3c95d24d45
3 changed files with 10 additions and 0 deletions
+1
View File
@@ -246,6 +246,7 @@ let
}
''
mkdir -p "$_arg_dumpdir"
${cabal-install}/bin/cabal v2-update
${cabal-install}/bin/cabal v2-build ${devCabalOptions} \
--builddir="$tmpdir" \
--ghc-option=-ddump-minimal-imports \