nix.yml: Update index before building

This commit is contained in:
Tony Zorman 2024-08-18 14:05:43 +02:00
parent ec5c751b35
commit e4e04aa017

View File

@ -25,4 +25,6 @@ jobs:
# "nix build" builds with full optimization and includes a profiling # "nix build" builds with full optimization and includes a profiling
# build, so just the build of xmonad-contrib itself takes 3 minutes. # build, so just the build of xmonad-contrib itself takes 3 minutes.
# As a workaround, we invoke cabal manually here. # As a workaround, we invoke cabal manually here.
run: nix develop -c cabal v2-build -O0 -j run: |
nix develop -c cabal v2-update -O0 -j
nix develop -c cabal v2-build -O0 -j