From da9574e43153ac3eb245eeaa684657a5b04458a4 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 30 Oct 2022 07:45:01 +0000 Subject: [PATCH] nedit: use xorg.* packages directly instead of xlibsWrapper indirection Tested as no material change in `out` output with `diffoscope`. Co-authored-by: Anderson Torres --- pkgs/applications/editors/nedit/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/editors/nedit/default.nix b/pkgs/applications/editors/nedit/default.nix index 5a523c05d7959..b49fbc14fad9c 100644 --- a/pkgs/applications/editors/nedit/default.nix +++ b/pkgs/applications/editors/nedit/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, xlibsWrapper, motif, libXpm }: +{ lib, stdenv, fetchurl, motif, libXpm, libXt }: stdenv.mkDerivation rec { pname = "nedit"; @@ -11,8 +11,7 @@ stdenv.mkDerivation rec { hardeningDisable = [ "format" ]; - nativeBuildInputs = [ xlibsWrapper ]; - buildInputs = [ motif libXpm ]; + buildInputs = [ motif libXpm libXt ]; # the linux config works fine on darwin too! buildFlags = lib.optional (stdenv.isLinux || stdenv.isDarwin) "linux";