nixosTests.botamusique: satisfy pyradios dns lookup

Since pyradio 1.0 the library does a DNS lookup on import, so we add the
required hostname into /etc/hosts to satisfy that lookup.
main
Martin Weinelt 2 years ago
parent 08f8d99c1f
commit d63e5c5d40
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
  1. 4
      nixos/tests/botamusique.nix

@ -6,6 +6,10 @@ import ./make-test-python.nix ({ pkgs, lib, ...} :
nodes = {
machine = { config, ... }: {
networking.extraHosts = ''
127.0.0.1 all.api.radio-browser.info
'';
services.murmur = {
enable = true;
registerName = "NixOS tests";

Loading…
Cancel
Save