From f6d62068434fe2db88c6470967b4df086820e5c3 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 28 Dec 2023 21:43:57 +0000 Subject: [PATCH] displaylink: fix `tests` eval Before the change `tests` eval failed for non-existent `displaylink` nixos test as: $ nix build --no-link -f. displaylink.tests error: attribute 'displaylink' missing 72| passthru = { 73| tests = { | ^ 74| inherit (nixosTests) displaylink; As far as I can see `displaylink` was never added to `nixos/tests/all-tests.nix`. --- pkgs/os-specific/linux/displaylink/default.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkgs/os-specific/linux/displaylink/default.nix b/pkgs/os-specific/linux/displaylink/default.nix index e71062e8ac47..408dfa408e1d 100644 --- a/pkgs/os-specific/linux/displaylink/default.nix +++ b/pkgs/os-specific/linux/displaylink/default.nix @@ -8,7 +8,6 @@ , makeWrapper , requireFile , substituteAll -, nixosTests }: let @@ -69,12 +68,6 @@ stdenv.mkDerivation rec { dontStrip = true; dontPatchELF = true; - passthru = { - tests = { - inherit (nixosTests) displaylink; - }; - }; - meta = with lib; { description = "DisplayLink DL-5xxx, DL-41xx and DL-3x00 Driver for Linux"; homepage = "https://www.displaylink.com/";