nedit: use xorg.* packages directly instead of xlibsWrapper indirection

Tested as no material change in `out` output with `diffoscope`.

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
This commit is contained in:
Sergei Trofimovich
2022-10-30 14:48:43 +00:00
co-authored by Anderson Torres
parent 4fbac1297f
commit da9574e431
+2 -3
View File
@@ -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";