mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
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:
parent
08f8d99c1f
commit
d63e5c5d40
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,10 @@ import ./make-test-python.nix ({ pkgs, lib, ...} :
|
||||||
|
|
||||||
nodes = {
|
nodes = {
|
||||||
machine = { config, ... }: {
|
machine = { config, ... }: {
|
||||||
|
networking.extraHosts = ''
|
||||||
|
127.0.0.1 all.api.radio-browser.info
|
||||||
|
'';
|
||||||
|
|
||||||
services.murmur = {
|
services.murmur = {
|
||||||
enable = true;
|
enable = true;
|
||||||
registerName = "NixOS tests";
|
registerName = "NixOS tests";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue