hercules-ci / arion

Run docker-compose with help from Nix/NixOS
Apache License 2.0
631 stars 47 forks source link

fix nixos option reference #185

Closed olebedev closed 1 year ago

olebedev commented 1 year ago

There is no option like

virtualisation.podman.defaultNetwork.settings.dns_enabled

anymore, https://search.nixos.org/options?channel=22.11&from=0&size=50&sort=relevance&type=packages&query=virtualisation.podman.defaultNetwork

so I changed it to

virtualisation.podman.defaultNetwork.dnsname.enable

Otherwise the build is failing.

roberth commented 1 year ago

Thanks!

ajaxbits commented 1 year ago

FWIW, this broke my build on nixos-unstable. I had the exact opposite issue:

The options definition  `virtualisation.podman.defaultNetwork.dnsname' in `/nix/store/zg04r72aqaiflsqhx6c7gk1bxlf1wgkh-source/nixos-module.nix' no longer has any effect; please remove it.
Use virtualisation.podman.defaultNetwork.settings.dns_enabled instead.
roberth commented 1 year ago

@ajaxbits Does #190 fix the problem for you?