nixos/tests/prometheus-exporters: replace 'with lib;'

Replace 'with lib;' by explicit function imports.
This commit is contained in:
WilliButz 2019-07-17 14:20:39 +02:00
parent 774221191d
commit 77ccb1fe6a
No known key found for this signature in database
GPG key ID: 92582A10F1179CB2

View file

@ -3,10 +3,11 @@
, pkgs ? import ../.. { inherit system config; }
}:
with pkgs.lib;
with import ../lib/testing.nix { inherit system pkgs; };
let
inherit (import ../lib/testing.nix { inherit system pkgs; }) makeTest;
inherit (pkgs.lib) concatStringsSep maintainers mapAttrs mkMerge
removeSuffix replaceChars singleton splitString;
escape' = str: replaceChars [''"'' "$" "\n"] [''\\\"'' "\\$" ""] str;
/*