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.
This commit is contained in:
Martin Weinelt 2022-03-30 19:11:41 +02:00
parent 08f8d99c1f
commit d63e5c5d40
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -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";