diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-03-30 19:11:41 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-03-30 19:11:43 +0200 |
commit | d63e5c5d4000ee89c7524486a2e0222cb765e2c7 (patch) | |
tree | 5bcf2979928e6372c061c8550f2d5b08e742535b /nixos/tests | |
parent | 08f8d99c1fe3178fcae1756e198ca79f681dc31a (diff) | |
download | nixpkgs-d63e5c5d4000ee89c7524486a2e0222cb765e2c7.tar nixpkgs-d63e5c5d4000ee89c7524486a2e0222cb765e2c7.tar.gz nixpkgs-d63e5c5d4000ee89c7524486a2e0222cb765e2c7.tar.bz2 nixpkgs-d63e5c5d4000ee89c7524486a2e0222cb765e2c7.tar.lz nixpkgs-d63e5c5d4000ee89c7524486a2e0222cb765e2c7.tar.xz nixpkgs-d63e5c5d4000ee89c7524486a2e0222cb765e2c7.tar.zst nixpkgs-d63e5c5d4000ee89c7524486a2e0222cb765e2c7.zip |
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.
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/botamusique.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/botamusique.nix b/nixos/tests/botamusique.nix index ccb105dc142..ecb79cb6986 100644 --- a/nixos/tests/botamusique.nix +++ b/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"; |