Merge pull request #198611 from trofi/nedit-without-xlibsWrapper

nedit: use xorg.* packages directly instead of xlibsWrapper indirection
This commit is contained in:
Anderson Torres 2022-10-30 12:16:20 -03:00 committed by GitHub
commit 5527a41eb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";