Skip to content

Commit 1c20b7d

Browse files
László Vaskóvlaci
authored andcommitted
fix(workflow): fetch updated package database before install
Unfortunately, old packages can get removed from mirrors, preventing installation using out-of-date package database.
1 parent 1837157 commit 1c20b7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-nix.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
- name: Setup emulation
3030
if: ${{ matrix.arch == 'aarch64-linux' }}
3131
run: |
32+
sudo apt update
3233
sudo apt install -q -y qemu-system-aarch64 qemu-efi binfmt-support qemu-user-static
3334
mkdir -p ~/.config/nix
3435
echo "system-features = aarch64-linux arm-linux" | sudo tee -a /etc/nix/nix.conf

0 commit comments

Comments
 (0)