From e4e04aa0172663da5d88d61e1a8f05532c36c0a2 Mon Sep 17 00:00:00 2001 From: Tony Zorman Date: Sun, 18 Aug 2024 14:05:43 +0200 Subject: [PATCH] nix.yml: Update index before building --- .github/workflows/nix.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index e4689598c..3960db729 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -25,4 +25,6 @@ jobs: # "nix build" builds with full optimization and includes a profiling # build, so just the build of xmonad-contrib itself takes 3 minutes. # 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