From b7310fdc9bc791a59afc41294bed8b844edbc911 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 12 Mar 2024 22:54:43 +0000 Subject: [PATCH] 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; | ^ --- pkgs/servers/ttyd/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/ttyd/default.nix b/pkgs/servers/ttyd/default.nix index 68731b6f717da..23b782c540dba 100644 --- a/pkgs/servers/ttyd/default.nix +++ b/pkgs/servers/ttyd/default.nix @@ -1,6 +1,7 @@ { lib, stdenv, fetchFromGitHub , pkg-config, cmake, xxd , openssl, libwebsockets, json_c, libuv, zlib +, nixosTests }: with builtins;