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
@@ -15,6 +15,7 @@ let
withEnv = postgrest.env;
}
''
${cabal-install}/bin/cabal v2-update
exec ${cabal-install}/bin/cabal v2-build ${devCabalOptions} "''${_arg_leftovers[@]}"
'';