diff --git a/nixos/tests/grafana/basic.nix b/nixos/tests/grafana/basic.nix index 2c0e2c2a57fc..f91d649540e6 100644 --- a/nixos/tests/grafana/basic.nix +++ b/nixos/tests/grafana/basic.nix @@ -1,6 +1,4 @@ -args@{ pkgs, ... }: - -(import ../make-test-python.nix ({ lib, pkgs, ... }: +import ../make-test-python.nix ({ lib, pkgs, ... }: let inherit (lib) mkMerge nameValuePair maintainers; @@ -108,4 +106,4 @@ in { ) mysql.shutdown() ''; -})) args +}) diff --git a/nixos/tests/grafana/provision/default.nix b/nixos/tests/grafana/provision/default.nix index b2b00002347e..331de35ed7fa 100644 --- a/nixos/tests/grafana/provision/default.nix +++ b/nixos/tests/grafana/provision/default.nix @@ -1,6 +1,4 @@ -args@{ pkgs, ... }: - -(import ../../make-test-python.nix ({ lib, pkgs, ... }: +import ../../make-test-python.nix ({ lib, pkgs, ... }: let inherit (lib) mkMerge nameValuePair maintainers; @@ -222,4 +220,4 @@ in { "curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/v1/provisioning/mute-timings | grep Test\ Mute\ Timing" ) ''; -})) args +})