Skip to content

Commit

Permalink
nixosTests.botamusique: satisfy pyradios dns lookup
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mweinelt committed Mar 30, 2022
1 parent 08f8d99 commit d63e5c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nixos/tests/botamusique.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit d63e5c5

Please sign in to comment.