From ec992804b42df6715e8704805b647bb50e1c0799 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 29 Nov 2022 08:49:36 +0000 Subject: [PATCH] tightvnc: use xorg.* packages directly instead of xlibsWrapper indirection Validated as no change in `out` output with `diffoscope`. --- pkgs/tools/admin/tightvnc/default.nix | 34 +++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/admin/tightvnc/default.nix b/pkgs/tools/admin/tightvnc/default.nix index e466b95c4f00..3c8f56a650fe 100644 --- a/pkgs/tools/admin/tightvnc/default.nix +++ b/pkgs/tools/admin/tightvnc/default.nix @@ -1,5 +1,20 @@ -{ lib, stdenv, fetchurl, xlibsWrapper, zlib, libjpeg, imake, gccmakedep, libXmu -, libXaw, libXpm, libXp , perl, xauth, fontDirectories, openssh }: +{ lib +, stdenv +, fetchurl +, zlib +, libjpeg +, imake +, gccmakedep +, libXaw +, libXext +, libXmu +, libXp +, libXpm +, perl +, xauth +, fontDirectories +, openssh +}: stdenv.mkDerivation rec { pname = "tightvnc"; @@ -22,8 +37,19 @@ stdenv.mkDerivation rec { hardeningDisable = [ "format" ]; - buildInputs = [ xlibsWrapper zlib libjpeg imake gccmakedep libXmu libXaw - libXpm libXp xauth openssh ]; + buildInputs = [ + zlib + libjpeg + imake + gccmakedep + libXaw + libXext + libXmu + libXp + libXpm + xauth + openssh + ]; postPatch = '' fontPath=