From a5d2c1be6fa917980a749ba9c9d47a0232511a79 Mon Sep 17 00:00:00 2001 From: Savely Krendelhoff Date: Fri, 18 Oct 2024 17:54:40 +0700 Subject: [PATCH] [Chore] Allow unfree for vagrant --- .buildkite/hooks/pre-exit | 2 +- .buildkite/pipeline-raw.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/hooks/pre-exit b/.buildkite/hooks/pre-exit index 86d11e456..d138eac78 100644 --- a/.buildkite/hooks/pre-exit +++ b/.buildkite/hooks/pre-exit @@ -5,5 +5,5 @@ if [[ "$BUILDKITE_STEP_KEY" == "test-systemd-services" ]]; then cd tests/systemd - nix shell ../..#legacyPackages.x86_64-linux.vagrant -c vagrant --packages-directory=../../out destroy --force + NIXPKGS_ALLOW_UNFREE=1 nix shell --impure ../..#legacyPackages.x86_64-linux.vagrant -c vagrant --packages-directory=../../out destroy --force fi diff --git a/.buildkite/pipeline-raw.yml b/.buildkite/pipeline-raw.yml index 2405f10f6..98a9b22f2 100644 --- a/.buildkite/pipeline-raw.yml +++ b/.buildkite/pipeline-raw.yml @@ -186,7 +186,7 @@ steps: commands: - buildkite-agent artifact download "out/*~focal_amd64.deb" . --step build-static-deb - cd tests/systemd - - nix shell ../..#legacyPackages.x86_64-linux.vagrant ../..#legacyPackages.x86_64-linux.curl -c vagrant --packages-directory=../../out up --provider=libvirt + - NIXPKGS_ALLOW_UNFREE=1 nix shell --impure ../..#legacyPackages.x86_64-linux.vagrant ../..#legacyPackages.x86_64-linux.curl -c vagrant --packages-directory=../../out up --provider=libvirt retry: automatic: limit: 3