podman: use host network
All checks were successful
checks / test (pull_request) Successful in 30s

This commit is contained in:
Jörg Thalheim 2023-11-29 14:20:36 +01:00
parent 6cf592bea3
commit 86c8d0fa2e
2 changed files with 1 additions and 2 deletions

View File

@ -7,6 +7,5 @@ jobs:
test:
runs-on: nix
steps:
- run: sleep 99999
- uses: actions/checkout@v3
- run: nix run --refresh github:Mic92/nix-fast-build -- --no-nom

View File

@ -205,7 +205,7 @@ lib.mkMerge [{
settings = {
container.options = "-e NIX_BUILD_SHELL=/bin/bash -e PAGER=cat -e PATH=/bin -e SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt --device /dev/kvm -v /nix:/nix -v ${storeDeps}/bin:/bin -v ${storeDeps}/etc/ssl:/etc/ssl --user nixuser --device=/dev/kvm";
# the default network that also respects our dns server settings
container.network = "podman";
container.network = "host";
container.valid_volumes = [
"/nix"
"${storeDeps}/bin"