ttyd.tests: fix eval

Without the change `ttyd.tests` eval fails as:

    $ nix build --no-link -f. ttyd.tests
    error: undefined variable 'nixosTests'
           at /home/slyfox/dev/git/nixpkgs-master/pkgs/servers/ttyd/default.nix:24:14:
               23|   passthru.tests = {
               24|     inherit (nixosTests) ttyd;
                 |              ^
This commit is contained in:
Sergei Trofimovich 2024-03-12 22:54:43 +00:00
parent 73bf415737
commit b7310fdc9b

View File

@ -1,6 +1,7 @@
{ lib, stdenv, fetchFromGitHub
, pkg-config, cmake, xxd
, openssl, libwebsockets, json_c, libuv, zlib
, nixosTests
}:
with builtins;