diff --git a/pkgs/build-support/testers/default.nix b/pkgs/build-support/testers/default.nix index 190ce72d0e63..d380dc6f30e1 100644 --- a/pkgs/build-support/testers/default.nix +++ b/pkgs/build-support/testers/default.nix @@ -97,7 +97,9 @@ # See doc/builders/testers.chapter.md or # https://nixos.org/manual/nixpkgs/unstable/#tester-runNixOSTest runNixOSTest = - let nixos = import ../../../nixos/lib {}; + let nixos = import ../../../nixos/lib { + inherit lib; + }; in testModule: nixos.runTest { _file = "pkgs.runNixOSTest implementation";