From 7bf77e413d848c863a13950dfa1ef2d54d08aedf Mon Sep 17 00:00:00 2001 From: "Jason \"Don\" O'Conal" Date: Mon, 3 Mar 2014 15:08:56 +1100 Subject: [PATCH] lesstif: fix build on Darwin * x11 = xlibsWrapper on non-Darwin systems, but is darwinX11AndOpenGL on Darwin systems, so pass in xlibsWrapper to the lesstif build instead --- pkgs/development/libraries/lesstif/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/lesstif/default.nix b/pkgs/development/libraries/lesstif/default.nix index 21b4eac30af3..8d01c2f2f438 100644 --- a/pkgs/development/libraries/lesstif/default.nix +++ b/pkgs/development/libraries/lesstif/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, x11, libXp, libXau}: +{stdenv, fetchurl, xlibsWrapper, libXp, libXau}: stdenv.mkDerivation { name = "lesstif-0.95.0-p2"; @@ -6,7 +6,7 @@ stdenv.mkDerivation { url = mirror://sourceforge/lesstif/lesstif-0.95.0.tar.bz2; md5 = "ab895165c149d7f95843c7584b1c7ad4"; }; - buildInputs = [x11]; + buildInputs = [xlibsWrapper]; propagatedBuildInputs = [libXp libXau]; # The last stable release of lesstif was in June 2006. These