Skip to content

Commit

Permalink
nedit: use xorg.* packages directly instead of xlibsWrapper indirection
Browse files Browse the repository at this point in the history
Tested as no material change in `out` output with `diffoscope`.

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
  • Loading branch information
trofi and AndersonTorres committed Oct 30, 2022
1 parent 4fbac12 commit da9574e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/applications/editors/nedit/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, xlibsWrapper, motif, libXpm }:
{ lib, stdenv, fetchurl, motif, libXpm, libXt }:

stdenv.mkDerivation rec {
pname = "nedit";
Expand All @@ -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";
Expand Down

0 comments on commit da9574e

Please sign in to comment.