From 22bee934d07ff4d494492f2bd9747ef2c4928349 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 22 Nov 2022 22:24:10 +0000 Subject: mitschemeX11: use xorg.* packages directly instead of xlibsWrapper indirection Validated as no materail change in `out` output with `diffoscope`. --- pkgs/development/compilers/mit-scheme/default.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'pkgs/development/compilers/mit-scheme') diff --git a/pkgs/development/compilers/mit-scheme/default.nix b/pkgs/development/compilers/mit-scheme/default.nix index 75b3d1128e45f..5a96242da7b13 100644 --- a/pkgs/development/compilers/mit-scheme/default.nix +++ b/pkgs/development/compilers/mit-scheme/default.nix @@ -1,6 +1,17 @@ -{ fetchurl, lib, stdenv, makeWrapper, gnum4, texinfo, texLive, automake, - autoconf, libtool, ghostscript, ncurses, - enableX11 ? false, xlibsWrapper }: +{ fetchurl +, lib +, stdenv +, makeWrapper +, gnum4 +, texinfo +, texLive +, automake +, autoconf +, libtool +, ghostscript +, ncurses +, enableX11 ? false, libX11 +}: let version = "11.2"; @@ -29,7 +40,7 @@ stdenv.mkDerivation { sha256 = "17822hs9y07vcviv2af17p3va7qh79dird49nj50bwi9rz64ia3w"; }; - buildInputs = [ ncurses ] ++ lib.optional enableX11 xlibsWrapper; + buildInputs = [ ncurses ] ++ lib.optionals enableX11 [ libX11 ]; configurePhase = '' runHook preConfigure -- cgit 1.4.1