x11: replace its usage by xlibsWrapper directly

Scilab note: the parameters already had pointed to nonexistent dirs
before this set of refactoring. But that config wasn't even used by
default.

Changed files
+183 -187
pkgs
applications
audio
display-managers
lightdm
editors
emacs-24
nedit
gis
graphics
misc
synergy
wordnet
xfe
xpdf
networking
browsers
elinks
mozilla-plugins
gecko-mediaplayer
w3m
instant-messengers
amsn
tkabber
science
math
scilab
video
gnash
mythtv
virtualization
open-vm-tools
window-managers
ion-3
notion
weston
desktops
enlightenment
development
compilers
haskell-modules
interpreters
pypy
python
libraries
pure-modules
python-modules
pycairo
r-modules
games
astromenace
minetest
quake3
voxelands
zoom
misc
emulators
snes9x-gtk
ghostscript
screensavers
rss-glx
xautolock
xtrlock-pam
os-specific
linux
conky
tools
X11
primus
xinput_calibrator
admin
tightvnc
audio
pasystray
graphics
glxinfo
graphviz
scrot
misc
unclutter
xclip
xsel
networking
x11-ssh-askpass
top-level
+2 -2
pkgs/applications/audio/qmmp/default.nix
···
-
{ stdenv, fetchurl, cmake, qt4, pkgconfig, x11
+
{ stdenv, fetchurl, cmake, qt4, pkgconfig, xlibsWrapper
# transports
, curl, libmms
# input plugins
···
buildInputs =
[ # basic requirements
-
cmake qt4 pkgconfig x11
+
cmake qt4 pkgconfig xlibsWrapper
# transports
curl libmms
# input plugins
+1 -1
pkgs/applications/display-managers/lightdm/default.nix
···
{ stdenv, fetchurl, pam, pkgconfig, libxcb, glib, libXdmcp, itstool, libxml2
-
, intltool, x11, libxklavier, libgcrypt
+
, intltool, xlibsWrapper, libxklavier, libgcrypt
, qt4 ? null, qt5 ? null
}:
+2 -2
pkgs/applications/editors/emacs-24/default.nix
···
-
{ stdenv, fetchurl, ncurses, x11, libXaw, libXpm, Xaw3d
+
{ stdenv, fetchurl, ncurses, xlibsWrapper, libXaw, libXpm, Xaw3d
, pkgconfig, gettext, libXft, dbus, libpng, libjpeg, libungif
, libtiff, librsvg, texinfo, gconf, libxml2, imagemagick, gnutls
, alsaLib, cairo, acl, gpm
···
[ ncurses gconf libxml2 gnutls alsaLib pkgconfig texinfo acl gpm gettext ]
++ stdenv.lib.optional stdenv.isLinux dbus
++ stdenv.lib.optionals withX
-
[ x11 libXaw Xaw3d libXpm libpng libjpeg libungif libtiff librsvg libXft
+
[ xlibsWrapper libXaw Xaw3d libXpm libpng libjpeg libungif libtiff librsvg libXft
imagemagick gconf ]
++ stdenv.lib.optional (withX && withGTK2) gtk2
++ stdenv.lib.optional (withX && withGTK3) gtk3
+2 -2
pkgs/applications/editors/nedit/default.nix
···
-
{ stdenv, fetchurl, x11, motif, libXpm }:
+
{ stdenv, fetchurl, xlibsWrapper, motif, libXpm }:
assert stdenv.isLinux;
···
sha256 = "023hwpqc57mnzvg6p7jda6193afgjzxzajlhwhqvk3jq2kdv6zna";
};
-
buildInputs = [ x11 motif libXpm ];
+
buildInputs = [ xlibsWrapper motif libXpm ];
buildFlags = if stdenv.isLinux then "linux" else "";
+2 -2
pkgs/applications/gis/qgis/default.nix
···
-
{ stdenv, fetchurl, gdal, cmake, qt4, flex, bison, proj, geos, x11, sqlite, gsl,
+
{ stdenv, fetchurl, gdal, cmake, qt4, flex, bison, proj, geos, xlibsWrapper, sqlite, gsl,
qwt, fcgi, pythonPackages, libspatialindex, libspatialite, qscintilla, postgresql, makeWrapper }:
stdenv.mkDerivation rec {
name = "qgis-2.10.1";
-
buildInputs = [ gdal qt4 flex bison proj geos x11 sqlite gsl qwt qscintilla
+
buildInputs = [ gdal qt4 flex bison proj geos xlibsWrapper sqlite gsl qwt qscintilla
fcgi libspatialindex libspatialite postgresql ] ++
(with pythonPackages; [ numpy psycopg2 ]) ++ [ pythonPackages.qscintilla ];
+2 -2
pkgs/applications/graphics/feh/default.nix
···
-
{ stdenv, makeWrapper, fetchurl, x11, imlib2, libjpeg, libpng
+
{ stdenv, makeWrapper, fetchurl, xlibsWrapper, imlib2, libjpeg, libpng
, libXinerama, curl, libexif }:
stdenv.mkDerivation rec {
···
sha256 = "1059mflgw8hl398lwy55fj50a98xryvdf23wkpbn4s0z9388hl46";
};
-
buildInputs = [ makeWrapper x11 imlib2 libjpeg libpng libXinerama curl libexif ];
+
buildInputs = [ makeWrapper xlibsWrapper imlib2 libjpeg libpng libXinerama curl libexif ];
preBuild = ''
makeFlags="PREFIX=$out exif=1"
+2 -2
pkgs/applications/graphics/xfig/default.nix
···
{ stdenv, fetchurl, makeWrapper, imake
-
, x11, libXpm, libXmu, libXi, libXp, Xaw3d, libpng, libjpeg}:
+
, xlibsWrapper, libXpm, libXmu, libXi, libXp, Xaw3d, libpng, libjpeg}:
let version = "3.2.5b"; in
stdenv.mkDerivation {
···
builder = ./builder.sh;
-
buildInputs = [x11 libXpm libXmu libXi libXp Xaw3d libpng libjpeg];
+
buildInputs = [xlibsWrapper libXpm libXmu libXi libXp Xaw3d libpng libjpeg];
nativeBuildInputs = [ imake makeWrapper ];
+2 -2
pkgs/applications/misc/synergy/default.nix
···
-
{ stdenv, fetchFromGitHub, cmake, x11, libX11, libXi, libXtst, libXrandr
+
{ stdenv, fetchFromGitHub, cmake, xlibsWrapper, libX11, libXi, libXtst, libXrandr
, xinput, curl, openssl, unzip }:
with stdenv.lib;
···
'';
buildInputs = [
-
cmake x11 libX11 libXi libXtst libXrandr xinput curl openssl
+
cmake xlibsWrapper libX11 libXi libXtst libXrandr xinput curl openssl
];
installPhase = ''
+2 -2
pkgs/applications/misc/wordnet/default.nix
···
-
{stdenv, fetchurl, tcl, tk, x11, makeWrapper}:
+
{stdenv, fetchurl, tcl, tk, xlibsWrapper, makeWrapper}:
let version = "3.0"; in
stdenv.mkDerivation {
···
sha256 = "08pgjvd2vvmqk3h641x63nxp7wqimb9r30889mkyfh2agc62sjbc";
};
-
buildInputs = [tcl tk x11 makeWrapper];
+
buildInputs = [tcl tk xlibsWrapper makeWrapper];
patchPhase = ''
sed "13i#define USE_INTERP_RESULT 1" -i src/stubs.c
+2 -2
pkgs/applications/misc/xfe/default.nix
···
-
{ stdenv, fetchurl, fox, pkgconfig, gettext, x11, gcc, intltool, file, libpng }:
+
{ stdenv, fetchurl, fox, pkgconfig, gettext, xlibsWrapper, gcc, intltool, file, libpng }:
stdenv.mkDerivation rec {
name = "xfe-1.37";
···
sha256 = "1g9a0bpny2m7ixgxpqjh0wvh2x6d0lpj6682zn5dfqwan4j2xfsd";
};
-
buildInputs = [ fox pkgconfig gettext x11 gcc intltool file libpng ];
+
buildInputs = [ fox pkgconfig gettext xlibsWrapper gcc intltool file libpng ];
preConfigure = ''
sed -i s,/usr/share/xfe,$out/share/xfe, src/xfedefs.h
+3 -3
pkgs/applications/misc/xpdf/default.nix
···
{ enableGUI ? true, enablePDFtoPPM ? true, useT1Lib ? false
-
, stdenv, fetchurl, zlib, libpng, x11 ? null, motif ? null, freetype ? null, t1lib ? null
+
, stdenv, fetchurl, zlib, libpng, xlibsWrapper ? null, motif ? null, freetype ? null, t1lib ? null
, base14Fonts ? null
}:
-
assert enableGUI -> x11 != null && motif != null && freetype != null;
+
assert enableGUI -> xlibsWrapper != null && motif != null && freetype != null;
assert enablePDFtoPPM -> freetype != null;
assert useT1Lib -> t1lib != null;
···
};
buildInputs = [ zlib libpng ] ++
-
stdenv.lib.optionals enableGUI [x11 motif] ++
+
stdenv.lib.optionals enableGUI [xlibsWrapper motif] ++
stdenv.lib.optional useT1Lib t1lib ++
stdenv.lib.optional enablePDFtoPPM freetype;
+2 -2
pkgs/applications/networking/browsers/elinks/default.nix
···
-
{ stdenv, fetchurl, perl, ncurses, x11, bzip2, zlib, openssl
+
{ stdenv, fetchurl, perl, ncurses, xlibsWrapper, bzip2, zlib, openssl
, spidermonkey, gpm
, enableGuile ? false, guile ? null # Incompatible licenses, LGPLv3 - GPLv2
, enablePython ? false, python ? null
···
patches = [ ./gc-init.patch ];
-
buildInputs = [ perl ncurses x11 bzip2 zlib openssl spidermonkey gpm ]
+
buildInputs = [ perl ncurses xlibsWrapper bzip2 zlib openssl spidermonkey gpm ]
++ stdenv.lib.optional enableGuile guile
++ stdenv.lib.optional enablePython python;
+2 -2
pkgs/applications/networking/browsers/mozilla-plugins/gecko-mediaplayer/default.nix
···
-
{ stdenv, fetchurl, pkgconfig, glib, dbus, dbus_glib, browser, x11
+
{ stdenv, fetchurl, pkgconfig, glib, dbus, dbus_glib, browser, xlibsWrapper
, GConf, gnome_mplayer, mplayer, gmtk
}:
···
sha256 = "913fd39e70c564cb210c2544a88869f9d1a448184421f000b14b2bc5ba718b49";
};
-
buildInputs = [ pkgconfig glib dbus dbus_glib browser x11 GConf browser gmtk ];
+
buildInputs = [ pkgconfig glib dbus dbus_glib browser xlibsWrapper GConf browser gmtk ];
# !!! fix this
preBuild =
+3 -3
pkgs/applications/networking/browsers/w3m/default.nix
···
, graphicsSupport ? false
, mouseSupport ? false
, ncurses, openssl ? null, boehmgc, gettext, zlib
-
, imlib2 ? null, x11 ? null, fbcon ? null
+
, imlib2 ? null, xlibsWrapper ? null, fbcon ? null
, gpm-ncurses ? null
}:
assert sslSupport -> openssl != null;
-
assert graphicsSupport -> imlib2 != null && (x11 != null || fbcon != null);
+
assert graphicsSupport -> imlib2 != null && (xlibsWrapper != null || fbcon != null);
assert mouseSupport -> gpm-ncurses != null;
stdenv.mkDerivation rec {
···
buildInputs = [ncurses boehmgc gettext zlib]
++ stdenv.lib.optional sslSupport openssl
++ stdenv.lib.optional mouseSupport gpm-ncurses
-
++ stdenv.lib.optionals graphicsSupport [imlib2 x11 fbcon];
+
++ stdenv.lib.optionals graphicsSupport [imlib2 xlibsWrapper fbcon];
configureFlags = "--with-ssl=${openssl} --with-gc=${boehmgc}"
+ stdenv.lib.optionalString graphicsSupport " --enable-image=x11,fb";
+2 -2
pkgs/applications/networking/instant-messengers/amsn/default.nix
···
-
{stdenv, fetchurl, which, tcl, tk, x11, libpng, libjpeg, makeWrapper}:
+
{stdenv, fetchurl, which, tcl, tk, xlibsWrapper, libpng, libjpeg, makeWrapper}:
stdenv.mkDerivation {
name = "amsn-0.98.9";
···
configureFlags = "--with-tcl=${tcl}/lib --with-tk=${tk}/lib --enable-static";
-
buildInputs = [which tcl tk x11 libpng libjpeg makeWrapper];
+
buildInputs = [which tcl tk xlibsWrapper libpng libjpeg makeWrapper];
postInstall = ''
wrapProgram $out/bin/amsn --prefix PATH : ${tk}/bin
+2 -2
pkgs/applications/networking/instant-messengers/tkabber/default.nix
···
{ stdenv, fetchurl, tcl, tk, tcllib, tcltls, tclgpg
-
, bwidget, makeWrapper, x11
+
, bwidget, makeWrapper, xlibsWrapper
, withSitePlugins ? true
, theme ? null
}:
···
done
'';
-
buildInputs = [ tcl tk x11 makeWrapper ] ++ tclLibraries;
+
buildInputs = [ tcl tk xlibsWrapper makeWrapper ] ++ tclLibraries;
meta = {
homepage = "http://tkabber.jabber.ru/";
+3 -7
pkgs/applications/science/math/scilab/default.nix
···
, ocaml, withOCaml ? false
#, withJava ? false
#, atlasMath, withAtlas ? false
-
, x11, withX ? false
+
, xlibsWrapper, withX ? false
}:
stdenv.mkDerivation rec {
···
buildInputs = [gfortran ncurses]
++ lib.optionals withGtk [gtk]
++ lib.optionals withOCaml [ocaml]
-
++ lib.optionals withX [x11]
+
++ lib.optional withX xlibsWrapper
;
···
# do not compile Java interface
+ " --without-java"
# use the X Window System
-
+ (lib.optionalString withX "
-
--with-x
-
--x-libraries=${x11}/lib
-
--x-includes=${x11}/include
-
")
+
+ lib.optionalString withX "--with-x"
;
makeFlags = "all";
+2 -2
pkgs/applications/video/gnash/default.nix
···
, gst_ffmpeg, speex
, libogg, libxml2, libjpeg, mesa, libpng, libungif, libtool
, boost, freetype, agg, dbus, curl, pkgconfig, gettext
-
, glib, gtk, gtkglext, pangox_compat, x11, ming, dejagnu, python, perl
+
, glib, gtk, gtkglext, pangox_compat, xlibsWrapper, ming, dejagnu, python, perl
, freefont_ttf, haxe, swftools
, lib, makeWrapper
, xulrunner }:
···
# XXX: KDE is supported as well so we could make it available optionally.
buildInputs = [
-
gettext x11 SDL SDL_mixer gstreamer gst_plugins_base gst_plugins_good
+
gettext xlibsWrapper SDL SDL_mixer gstreamer gst_plugins_base gst_plugins_good
gst_ffmpeg speex libtool
libogg libxml2 libjpeg mesa libpng libungif boost freetype agg
dbus curl pkgconfig glib gtk gtkglext pangox_compat
+2 -2
pkgs/applications/video/mythtv/default.nix
···
-
{ stdenv, fetchurl, which, qt4, x11, libpulseaudio, fftwSinglePrec
+
{ stdenv, fetchurl, which, qt4, xlibsWrapper, libpulseaudio, fftwSinglePrec
, lame, zlib, mesa, alsaLib, freetype, perl, pkgconfig
, libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm, libXmu
, yasm, libuuid, taglib, libtool, autoconf, automake, file
···
sourceRoot = "${name}/mythtv";
buildInputs = [
-
freetype qt4 lame zlib x11 mesa perl alsaLib libpulseaudio fftwSinglePrec
+
freetype qt4 lame zlib xlibsWrapper mesa perl alsaLib libpulseaudio fftwSinglePrec
libX11 libXv libXrandr libXvMC libXmu libXinerama libXxf86vm libXmu
libuuid taglib
];
+2 -2
pkgs/applications/virtualization/open-vm-tools/default.nix
···
{ stdenv, lib, fetchurl, makeWrapper, autoconf, automake,
libmspack, openssl, pam, xercesc, icu, libdnet, procps,
-
x11, libXinerama, libXi, libXrender, libXrandr, libXtst,
+
xlibsWrapper, libXinerama, libXi, libXrender, libXrandr, libXtst,
pkgconfig, glib, gtk, gtkmm }:
let
···
buildInputs =
[ autoconf automake makeWrapper libmspack openssl pam xercesc icu libdnet procps
-
pkgconfig glib gtk gtkmm x11 libXinerama libXi libXrender libXrandr libXtst ];
+
pkgconfig glib gtk gtkmm xlibsWrapper libXinerama libXi libXrender libXrandr libXtst ];
patchPhase = ''
sed -i s,-Werror,,g configure.ac
+2 -2
pkgs/applications/window-managers/ion-3/default.nix
···
-
{ stdenv, fetchurl, x11, lua, gettext, groff }:
+
{ stdenv, fetchurl, xlibsWrapper, lua, gettext, groff }:
stdenv.mkDerivation {
name = "ion-3-20090110";
···
url = http://tuomov.iki.fi/software/dl/ion-3-20090110.tar.gz;
sha256 = "1nkks5a95986nyfkxvg2rik6zmwx0lh7szd5fji7yizccwzc9xns";
};
-
buildInputs = [ x11 lua gettext groff ];
+
buildInputs = [ xlibsWrapper lua gettext groff ];
buildFlags = "LUA_DIR=${lua} X11_PREFIX=/no-such-path PREFIX=\${out}";
installFlags = "PREFIX=\${out}";
}
+2 -2
pkgs/applications/window-managers/notion/default.nix
···
stdenv, fetchurl,
lua, gettext, groff,
pkgconfig, busybox,
-
x11, libXinerama, libXrandr, libX11
+
xlibsWrapper, libXinerama, libXrandr, libX11
}:
assert enableXft -> libXft != null;
···
patches = patches ++ stdenv.lib.optional enableXft ./notion-xft_nixos.diff;
postPatch = "substituteInPlace system-autodetect.mk --replace '#PRELOAD_MODULES=1' 'PRELOAD_MODULES=1'";
-
buildInputs = [x11 lua gettext groff pkgconfig busybox libXinerama libXrandr libX11] ++ stdenv.lib.optional enableXft libXft;
+
buildInputs = [xlibsWrapper lua gettext groff pkgconfig busybox libXinerama libXrandr libX11] ++ stdenv.lib.optional enableXft libXft;
buildFlags = "LUA_DIR=${lua} X11_PREFIX=/no-such-path PREFIX=\${out}";
installFlags = "PREFIX=\${out}";
+2 -2
pkgs/applications/window-managers/weston/default.nix
···
{ stdenv, fetchurl, pkgconfig, wayland, mesa, libxkbcommon, cairo, libxcb
-
, libXcursor, x11, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput
+
, libXcursor, xlibsWrapper, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput
, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null, libva ? null
, libwebp ? null, xwayland ? null
# beware of null defaults, as the parameters *are* supplied by callPackage by default
···
};
buildInputs = [
-
pkgconfig wayland mesa libxkbcommon cairo libxcb libXcursor x11 udev libdrm
+
pkgconfig wayland mesa libxkbcommon cairo libxcb libXcursor xlibsWrapper udev libdrm
mtdev libjpeg pam dbus.libs libinput pango libunwind freerdp vaapi libva
libwebp
];
+1 -1
pkgs/desktops/enlightenment/default.nix
···
-
{ stdenv, fetchurl, pkgconfig, x11, xlibs, dbus, imlib2, freetype }:
+
{ stdenv, fetchurl, pkgconfig, xlibsWrapper, xlibs, dbus, imlib2, freetype }:
let version = "0.16.8.15"; in
stdenv.mkDerivation {
+2 -2
pkgs/development/compilers/ocaml/3.08.0.nix
···
-
{ stdenv, fetchurl, x11 }:
+
{ stdenv, fetchurl, xlibsWrapper }:
stdenv.mkDerivation {
name = "ocaml-3.08.0";
···
};
configureScript = ./configure-3.08.0;
dontAddPrefix = "True";
-
configureFlags = ["-no-tk" "-x11lib" x11];
+
configureFlags = ["-no-tk" "-x11lib" xlibsWrapper];
buildFlags = ["world" "bootstrap" "opt"];
checkTarget = ["opt.opt"];
}
+3 -3
pkgs/development/compilers/ocaml/3.10.0.nix
···
-
{ stdenv, fetchurl, x11, ncurses }:
+
{ stdenv, fetchurl, xlibsWrapper, ncurses }:
stdenv.mkDerivation (rec {
···
};
prefixKey = "-prefix ";
-
configureFlags = ["-no-tk" "-x11lib" x11];
+
configureFlags = ["-no-tk" "-x11lib" xlibsWrapper];
buildFlags = "world bootstrap world.opt";
-
buildInputs = [x11 ncurses];
+
buildInputs = [xlibsWrapper ncurses];
installTargets = "install installopt";
patchPhase = ''
CAT=$(type -tp cat)
+3 -3
pkgs/development/compilers/ocaml/3.11.2.nix
···
-
{ stdenv, fetchurl, ncurses, x11 }:
+
{ stdenv, fetchurl, ncurses, xlibsWrapper }:
let
useX11 = stdenv.isi686 || stdenv.isx86_64;
···
];
prefixKey = "-prefix ";
-
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" x11 ];
+
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" xlibsWrapper ];
buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
-
buildInputs = [ncurses] ++ optionals useX11 [ x11 ];
+
buildInputs = [ncurses] ++ optionals useX11 [ xlibsWrapper ];
installTargets = "install" + optionalString useNativeCompilers " installopt";
prePatch = ''
CAT=$(type -tp cat)
+3 -3
pkgs/development/compilers/ocaml/3.12.1.nix
···
-
{ stdenv, fetchurl, ncurses, x11 }:
+
{ stdenv, fetchurl, ncurses, xlibsWrapper }:
let
useX11 = !stdenv.isArm && !stdenv.isMips;
···
};
prefixKey = "-prefix ";
-
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" x11 ];
+
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" xlibsWrapper ];
buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
-
buildInputs = [ncurses] ++ optionals useX11 [ x11 ];
+
buildInputs = [ncurses] ++ optionals useX11 [ xlibsWrapper ];
installTargets = "install" + optionalString useNativeCompilers " installopt";
patches = optionals stdenv.isDarwin [ ./3.12.1-darwin-fix-configure.patch ];
preConfigure = ''
+3 -3
pkgs/development/compilers/ocaml/4.00.1.nix
···
-
{ stdenv, fetchurl, ncurses, x11 }:
+
{ stdenv, fetchurl, ncurses, xlibsWrapper }:
let
useX11 = !stdenv.isArm && !stdenv.isMips;
···
};
prefixKey = "-prefix ";
-
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" x11 ];
+
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" xlibsWrapper ];
buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
-
buildInputs = [ncurses] ++ optionals useX11 [ x11 ];
+
buildInputs = [ncurses] ++ optionals useX11 [ xlibsWrapper ];
installTargets = "install" + optionalString useNativeCompilers " installopt";
preConfigure = ''
CAT=$(type -tp cat)
+3 -3
pkgs/development/compilers/ocaml/ber-metaocaml-003.nix
···
-
{ stdenv, fetchurl, ncurses, x11 }:
+
{ stdenv, fetchurl, ncurses, xlibsWrapper }:
let
useX11 = stdenv.isi686 || stdenv.isx86_64;
···
patches = optionals stdenv.isDarwin [ ./gnused-on-osx-fix.patch ];
prefixKey = "-prefix ";
-
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" x11 ];
+
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" xlibsWrapper ];
buildFlags = "core coreboot all"; # "world" + optionalString useNativeCompilers " bootstrap world.opt";
-
buildInputs = [ncurses] ++ optionals useX11 [ x11 ];
+
buildInputs = [ncurses] ++ optionals useX11 [ xlibsWrapper ];
installFlags = "-i";
installTargets = "install"; # + optionalString useNativeCompilers " installopt";
prePatch = ''
+3 -3
pkgs/development/compilers/ocaml/metaocaml-3.09.nix
···
-
{ stdenv, fetchurl, x11, ncurses }:
+
{ stdenv, fetchurl, xlibsWrapper, ncurses }:
stdenv.mkDerivation (rec {
···
};
prefixKey = "-prefix ";
-
configureFlags = ["-no-tk" "-x11lib" x11];
+
configureFlags = ["-no-tk" "-x11lib" xlibsWrapper];
buildFlags = "world bootstrap world.opt";
-
buildInputs = [x11 ncurses];
+
buildInputs = [xlibsWrapper ncurses];
installTargets = "install installopt";
patchPhase = ''
CAT=$(type -tp cat)
+2 -2
pkgs/development/haskell-modules/hackage-packages.nix
···
}) {};
"gtk-traymanager" = callPackage
-
({ mkDerivation, base, glib, gtk, x11 }:
+
({ mkDerivation, base, glib, gtk, xlibsWrapper }:
mkDerivation {
pname = "gtk-traymanager";
version = "0.1.5";
sha256 = "1582e229aafe22cf5499fe1519e2ff4f49cecbe83a6eb1a8de04f45dd44df443";
libraryHaskellDepends = [ base glib gtk ];
-
libraryPkgconfigDepends = [ x11 ];
+
libraryPkgconfigDepends = [ xlibsWrapper ];
homepage = "http://github.com/travitch/gtk-traymanager";
description = "A wrapper around the eggtraymanager library for Linux system trays";
license = stdenv.lib.licenses.lgpl21;
+2 -2
pkgs/development/interpreters/pypy/default.nix
···
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2, pkgconfig, libffi
-
, sqlite, openssl, ncurses, pythonFull, expat, tcl, tk, x11, libX11
+
, sqlite, openssl, ncurses, pythonFull, expat, tcl, tk, xlibsWrapper, libX11
, makeWrapper, callPackage, self }:
assert zlibSupport -> zlib != null;
···
sha256 = "0xympj874cnjpxj68xm5gllq2f8bbvz8hr0md8mh1yd6fgzzxibh";
};
-
buildInputs = [ bzip2 openssl pkgconfig pythonFull libffi ncurses expat sqlite tk tcl x11 libX11 makeWrapper ]
+
buildInputs = [ bzip2 openssl pkgconfig pythonFull libffi ncurses expat sqlite tk tcl xlibsWrapper libX11 makeWrapper ]
++ stdenv.lib.optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc
++ stdenv.lib.optional zlibSupport zlib;
+3 -3
pkgs/development/interpreters/python/2.6/default.nix
···
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2, includeModules ? false
-
, sqlite, tcl, tk, x11, openssl, readline, db, ncurses, gdbm, self, callPackage }:
+
, sqlite, tcl, tk, xlibsWrapper, openssl, readline, db, ncurses, gdbm, self, callPackage }:
assert zlibSupport -> zlib != null;
···
buildInputs =
optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc ++
-
[ bzip2 openssl ]++ optionals includeModules [ db openssl ncurses gdbm readline x11 tcl tk sqlite ]
+
[ bzip2 openssl ]++ optionals includeModules [ db openssl ncurses gdbm readline xlibsWrapper tcl tk sqlite ]
++ optional zlibSupport zlib;
···
tkinter = buildInternalPythonModule {
moduleName = "tkinter";
-
deps = [ tcl tk x11 ];
+
deps = [ tcl tk xlibsWrapper ];
};
readline = buildInternalPythonModule {
+4 -4
pkgs/development/interpreters/python/2.7/default.nix
···
, db, gdbm, ncurses, sqlite, readline
-
, tcl ? null, tk ? null, x11 ? null, libX11 ? null, x11Support ? !stdenv.isCygwin
+
, tcl ? null, tk ? null, xlibsWrapper ? null, libX11 ? null, x11Support ? !stdenv.isCygwin
, zlib ? null, zlibSupport ? true
, expat, libffi
···
assert zlibSupport -> zlib != null;
assert x11Support -> tcl != null
&& tk != null
-
&& x11 != null
+
&& xlibsWrapper != null
&& libX11 != null;
with stdenv.lib;
···
++ optionals stdenv.isCygwin [ expat libffi ]
++ optionals includeModules (
[ db gdbm ncurses sqlite readline
-
] ++ optionals x11Support [ tcl tk x11 libX11 ]
+
] ++ optionals x11Support [ tcl tk xlibsWrapper libX11 ]
)
++ optional zlibSupport zlib
···
tkinter = if stdenv.isCygwin then null else (buildInternalPythonModule {
moduleName = "tkinter";
-
deps = [ tcl tk x11 libX11 ];
+
deps = [ tcl tk xlibsWrapper libX11 ];
});
} // {
+3 -3
pkgs/development/libraries/SDL/default.nix
···
{ stdenv, fetchurl, pkgconfig, audiofile, libcap
, openglSupport ? false, mesa ? null
, alsaSupport ? true, alsaLib ? null
-
, x11Support ? true, x11 ? null, libXrandr ? null
+
, x11Support ? true, xlibsWrapper ? null, libXrandr ? null
, pulseaudioSupport ? true, libpulseaudio ? null
}:
···
assert (stdenv.isLinux && !(stdenv ? cross)) -> alsaSupport || pulseaudioSupport;
assert openglSupport -> (mesa != null && x11Support);
-
assert x11Support -> (x11 != null && libXrandr != null);
+
assert x11Support -> (xlibsWrapper != null && libXrandr != null);
assert alsaSupport -> alsaLib != null;
assert pulseaudioSupport -> libpulseaudio != null;
···
# Since `libpulse*.la' contain `-lgdbm', PulseAudio must be propagated.
propagatedBuildInputs =
-
optionals x11Support [ x11 libXrandr ] ++
+
optionals x11Support [ xlibsWrapper libXrandr ] ++
optional alsaSupport alsaLib ++
optional stdenv.isLinux libcap ++
optional openglSupport mesa ++
+3 -3
pkgs/development/libraries/SDL2/default.nix
···
{ stdenv, fetchurl, pkgconfig, audiofile
, openglSupport ? false, mesa ? null
, alsaSupport ? true, alsaLib ? null
-
, x11Support ? true, x11 ? null, libXrandr ? null
+
, x11Support ? true, xlibsWrapper ? null, libXrandr ? null
, pulseaudioSupport ? true, libpulseaudio ? null
}:
···
assert !stdenv.isDarwin -> alsaSupport || pulseaudioSupport;
assert openglSupport -> (stdenv.isDarwin || mesa != null && x11Support);
-
assert x11Support -> (x11 != null && libXrandr != null);
+
assert x11Support -> (xlibsWrapper != null && libXrandr != null);
assert alsaSupport -> alsaLib != null;
assert pulseaudioSupport -> libpulseaudio != null;
···
};
# Since `libpulse*.la' contain `-lgdbm', PulseAudio must be propagated.
-
propagatedBuildInputs = stdenv.lib.optionals x11Support [ x11 libXrandr ] ++
+
propagatedBuildInputs = stdenv.lib.optionals x11Support [ xlibsWrapper libXrandr ] ++
stdenv.lib.optional pulseaudioSupport libpulseaudio;
buildInputs = [ pkgconfig audiofile ] ++
+3 -3
pkgs/development/libraries/Xaw3d/default.nix
···
-
{stdenv, fetchurl, x11, imake, gccmakedep, libXmu, libXpm, libXp, bison, flex}:
+
{stdenv, fetchurl, xlibsWrapper, imake, gccmakedep, libXmu, libXpm, libXp, bison, flex}:
stdenv.mkDerivation {
name = "Xaw3d-1.5E";
···
md5 = "29ecfdcd6bcf47f62ecfd672d31269a1";
};
patches = [./config.patch ./laylex.patch];
-
buildInputs = [x11 imake gccmakedep libXmu libXpm libXp bison flex];
-
propagatedBuildInputs = [x11 libXmu];
+
buildInputs = [imake gccmakedep libXpm libXp bison flex];
+
propagatedBuildInputs = [xlibsWrapper libXmu];
meta = {
description = "3D widget set based on the Athena Widget set";
+2 -2
pkgs/development/libraries/cairomm/default.nix
···
-
{ fetchurl, stdenv, pkgconfig, cairo, x11, fontconfig, freetype, libsigcxx }:
+
{ fetchurl, stdenv, pkgconfig, cairo, xlibsWrapper, fontconfig, freetype, libsigcxx }:
stdenv.mkDerivation rec {
name = "cairomm-1.11.2";
···
buildInputs = [ pkgconfig ];
-
propagatedBuildInputs = [ cairo x11 fontconfig freetype libsigcxx ];
+
propagatedBuildInputs = [ cairo xlibsWrapper fontconfig freetype libsigcxx ];
meta = with stdenv.lib; {
description = "A 2D graphics library with support for multiple output devices";
+3 -3
pkgs/development/libraries/dlib/default.nix
···
-
{ stdenv, fetchurl, cmake, x11 }:
+
{ stdenv, fetchurl, cmake, xlibsWrapper }:
stdenv.mkDerivation rec {
version = "18.10";
···
'';
enableParallelBuilding = true;
-
buildInputs = [ cmake x11 ];
-
propagatedBuildInputs = [ x11 ];
+
buildInputs = [ cmake xlibsWrapper ];
+
propagatedBuildInputs = [ xlibsWrapper ];
meta = with stdenv.lib; {
description = "A general purpose cross-platform C++ machine learning library";
+2 -2
pkgs/development/libraries/fltk/default.nix
···
-
{ composableDerivation, fetchurl, pkgconfig, x11, inputproto, libXi
+
{ composableDerivation, fetchurl, pkgconfig, xlibsWrapper, inputproto, libXi
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng }:
let inherit (composableDerivation) edf; in
···
sha256 = "0353ngb7gpyklc9mdz8629big2na3c73akfwhis8fhqp7jkbs9ih";
};
-
propagatedBuildInputs = [ x11 inputproto libXi freeglut ];
+
propagatedBuildInputs = [ xlibsWrapper inputproto libXi freeglut ];
buildInputs = [ pkgconfig ];
+2 -2
pkgs/development/libraries/fltk/fltk13.nix
···
-
{ composableDerivation, fetchurl, pkgconfig, x11, inputproto, libXi
+
{ composableDerivation, fetchurl, pkgconfig, xlibsWrapper, inputproto, libXi
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng
, cfg ? {}
, automake, autoconf, libtool
···
--replace 'class Fl_XFont_On_Demand' 'class FL_EXPORT Fl_XFont_On_Demand'
'';
-
propagatedBuildInputs = [ x11 inputproto libXi freeglut ];
+
propagatedBuildInputs = [ xlibsWrapper inputproto libXi freeglut ];
enableParallelBilding = true;
+2 -2
pkgs/development/libraries/fox/default.nix
···
-
{ stdenv, fetchurl, x11, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor, libXrandr, libXft }:
+
{ stdenv, fetchurl, xlibsWrapper, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor, libXrandr, libXft }:
let
version = "1.7.9";
···
sha256 = "1jb9368xsin3ppdf6979n5s7in3s9klbxqbwcp0z8misjixl7nzg";
};
-
buildInputs = [ libpng x11 libjpeg libtiff zlib bzip2 libXcursor libXrandr libXft ];
+
buildInputs = [ libpng xlibsWrapper libjpeg libtiff zlib bzip2 libXcursor libXrandr libXft ];
doCheck = true;
+2 -2
pkgs/development/libraries/fox/fox-1.6.nix
···
-
{ stdenv, fetchurl, x11, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor
+
{ stdenv, fetchurl, xlibsWrapper, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor
, libXrandr, mesa, libXft, libXfixes, xinput }:
let
···
sha256 = "03m9wm8hpzh1i0fxx5mpvjr67384pfm9hn7gzdcq55b4639fqy9n";
};
-
buildInputs = [ x11 libpng libjpeg libtiff zlib bzip2 libXcursor libXrandr
+
buildInputs = [ xlibsWrapper libpng libjpeg libtiff zlib bzip2 libXcursor libXrandr
libXft mesa libXfixes xinput ];
doCheck = true;
+2 -2
pkgs/development/libraries/freeglut/default.nix
···
-
{ stdenv, fetchurl, libXi, libXrandr, libXxf86vm, mesa, x11, cmake }:
+
{ stdenv, fetchurl, libXi, libXrandr, libXxf86vm, mesa, xlibsWrapper, cmake }:
let version = "3.0.0";
in stdenv.mkDerivation {
···
sha256 = "18knkyczzwbmyg8hr4zh8a1i5ga01np2jzd1rwmsh7mh2n2vwhra";
};
-
buildInputs = [ libXi libXrandr libXxf86vm mesa x11 cmake ];
+
buildInputs = [ libXi libXrandr libXxf86vm mesa xlibsWrapper cmake ];
meta = with stdenv.lib; {
description = "Create and manage windows containing OpenGL contexts";
+2 -2
pkgs/development/libraries/giblib/default.nix
···
-
{ stdenv, fetchurl, x11, imlib2 }:
+
{ stdenv, fetchurl, xlibsWrapper, imlib2 }:
stdenv.mkDerivation rec {
name = "giblib-1.2.4";
···
sha256 = "1b4bmbmj52glq0s898lppkpzxlprq9aav49r06j2wx4dv3212rhp";
};
-
buildInputs = [x11 imlib2];
+
buildInputs = [xlibsWrapper imlib2];
meta = {
homepage = http://linuxbrit.co.uk/giblib/;
+2 -2
pkgs/development/libraries/glew/default.nix
···
-
{ stdenv, fetchurl, mesa_glu, x11, libXmu, libXi }:
+
{ stdenv, fetchurl, mesa_glu, xlibsWrapper, libXmu, libXi }:
with stdenv.lib;
···
sha256 = "1mhkllxz49l1x680dmzrv2i82qjrq017sykah3xc90f2d8qcxfv9";
};
-
nativeBuildInputs = [ x11 libXmu libXi ];
+
nativeBuildInputs = [ xlibsWrapper libXmu libXi ];
propagatedNativeBuildInputs = [ mesa_glu ]; # GL/glew.h includes GL/glu.h
patchPhase = ''
+2 -2
pkgs/development/libraries/glfw/3.x.nix
···
-
{ stdenv, fetchurl, cmake, mesa, libXrandr, libXi, libXxf86vm, libXfixes, x11
+
{ stdenv, fetchurl, cmake, mesa, libXrandr, libXi, libXxf86vm, libXfixes, xlibsWrapper
, libXinerama, libXcursor
}:
···
enableParallelBuilding = true;
buildInputs = [
-
cmake mesa libXrandr libXi libXxf86vm libXfixes x11
+
cmake mesa libXrandr libXi libXxf86vm libXfixes xlibsWrapper
libXinerama libXcursor
];
+2 -2
pkgs/development/libraries/gtk+/2.x.nix
···
{ stdenv, fetchurl, pkgconfig, gettext, glib, atk, pango, cairo, perl, xlibs
-
, gdk_pixbuf, libintlOrEmpty, x11
+
, gdk_pixbuf, libintlOrEmpty, xlibsWrapper
, xineramaSupport ? stdenv.isLinux
, cupsSupport ? true, cups ? null
}:
···
++ optionals (stdenv.isLinux || stdenv.isDarwin) [
libXrandr libXrender libXcomposite libXi libXcursor
]
-
++ optionals stdenv.isDarwin [ x11 libXdamage ]
+
++ optionals stdenv.isDarwin [ xlibsWrapper libXdamage ]
++ libintlOrEmpty
++ optional xineramaSupport libXinerama
++ optionals cupsSupport [ cups ];
+1 -1
pkgs/development/libraries/gtk+/3.x.nix
···
{ stdenv, fetchurl, pkgconfig, gettext, perl
, expat, glib, cairo, pango, gdk_pixbuf, atk, at_spi2_atk, gobjectIntrospection
-
, xlibs, x11, wayland, libxkbcommon, epoxy
+
, xlibs, xlibsWrapper, wayland, libxkbcommon, epoxy
, xineramaSupport ? stdenv.isLinux
, cupsSupport ? stdenv.isLinux, cups ? null
}:
+2 -2
pkgs/development/libraries/imlib2/default.nix
···
-
{ stdenv, fetchurl, x11, libjpeg, libtiff, giflib, libpng, bzip2, pkgconfig }:
+
{ stdenv, fetchurl, xlibsWrapper, libjpeg, libtiff, giflib, libpng, bzip2, pkgconfig }:
stdenv.mkDerivation rec {
name = "imlib2-1.4.6";
···
sha256 = "0x1j0ylpclkp8cfpwfpkjywqz124bqskyxbw8pvwzkv2gmrbwldg";
};
-
buildInputs = [ x11 libjpeg libtiff giflib libpng bzip2 ];
+
buildInputs = [ xlibsWrapper libjpeg libtiff giflib libpng bzip2 ];
nativeBuildInputs = [ pkgconfig ];
+2 -2
pkgs/development/libraries/lirc/default.nix
···
-
{ stdenv, fetchurl, alsaLib, bash, help2man, pkgconfig, x11, python3, libxslt }:
+
{ stdenv, fetchurl, alsaLib, bash, help2man, pkgconfig, xlibsWrapper, python3, libxslt }:
stdenv.mkDerivation rec {
name = "lirc-0.9.3";
···
preBuild = "patchShebangs .";
-
buildInputs = [ alsaLib help2man pkgconfig x11 python3 libxslt ];
+
buildInputs = [ alsaLib help2man pkgconfig xlibsWrapper python3 libxslt ];
configureFlags = [
"--with-driver=devinput"
+2 -2
pkgs/development/libraries/pango/default.nix
···
-
{ stdenv, fetchurl, pkgconfig, x11, glib, cairo, libpng, harfbuzz
+
{ stdenv, fetchurl, pkgconfig, xlibsWrapper, glib, cairo, libpng, harfbuzz
, fontconfig, freetype, libintlOrEmpty, gobjectIntrospection
}:
···
++ optionals stdenv.isDarwin [ fontconfig ];
nativeBuildInputs = [ pkgconfig ];
-
propagatedBuildInputs = [ x11 glib cairo libpng fontconfig freetype harfbuzz ] ++ libintlOrEmpty;
+
propagatedBuildInputs = [ xlibsWrapper glib cairo libpng fontconfig freetype harfbuzz ] ++ libintlOrEmpty;
enableParallelBuilding = true;
+4 -4
pkgs/development/libraries/physics/geant4/default.nix
···
# For enableQT, enableXM, enableOpenGLX11, enableRaytracerX11.
, mesa ? null
-
, x11 ? null
+
, xlibsWrapper ? null
, libXmu ? null
}:
···
# OpenGL/X11 User Interface and Visualisation drivers.
assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> mesa != null;
-
assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> x11 != null;
+
assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> xlibsWrapper != null;
assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> libXmu != null;
let
···
};
enableParallelBuilding = true;
-
buildInputs = [ cmake clhep expat zlib xercesc qt motif mesa x11 libXmu ];
-
propagatedBuildInputs = [ g4data clhep expat zlib xercesc qt motif mesa x11 libXmu ];
+
buildInputs = [ cmake clhep expat zlib xercesc qt motif mesa xlibsWrapper libXmu ];
+
propagatedBuildInputs = [ g4data clhep expat zlib xercesc qt motif mesa xlibsWrapper libXmu ];
setupHook = ./setup-hook.sh;
+2 -2
pkgs/development/libraries/qt-3/default.nix
···
, threadSupport ? true
, mysqlSupport ? false, mysql ? null
, openglSupport ? false, mesa ? null, libXmu ? null
-
, x11, xextproto, zlib, libjpeg, libpng, which
+
, xlibsWrapper, xextproto, zlib, libjpeg, libpng, which
}:
assert xftSupport -> libXft != null;
···
};
nativeBuildInputs = [ which ];
-
propagatedBuildInputs = [libpng x11 libXft libXrender zlib libjpeg];
+
propagatedBuildInputs = [libpng xlibsWrapper libXft libXrender zlib libjpeg];
configureFlags = "
-v
+2 -2
pkgs/development/libraries/snack/default.nix
···
# alsaLib vorbisTools python can be made optional
-
{ stdenv, fetchurl, python, tcl, tk, vorbisTools, pkgconfig, x11 }:
+
{ stdenv, fetchurl, python, tcl, tk, vorbisTools, pkgconfig, xlibsWrapper }:
stdenv.mkDerivation {
name = "snack-2.2.10";
···
postUnpack = ''sourceRoot="$sourceRoot/unix"'';
-
buildInputs = [ python tcl tk vorbisTools pkgconfig x11 ];
+
buildInputs = [ python tcl tk vorbisTools pkgconfig xlibsWrapper ];
postInstall = "aoeu";
+2 -2
pkgs/development/pure-modules/gl/default.nix
···
-
{ stdenv, fetchurl, pkgconfig, pure, freeglut, mesa, x11 }:
+
{ stdenv, fetchurl, pkgconfig, pure, freeglut, mesa, xlibsWrapper }:
stdenv.mkDerivation rec {
baseName = "gl";
···
};
buildInputs = [ pkgconfig ];
-
propagatedBuildInputs = [ pure freeglut mesa x11 ];
+
propagatedBuildInputs = [ pure freeglut mesa xlibsWrapper ];
makeFlags = "libdir=$(out)/lib prefix=$(out)/";
setupHook = ../generic-setup-hook.sh;
+2 -2
pkgs/development/pure-modules/tk/default.nix
···
-
{ stdenv, fetchurl, pkgconfig, pure, tcl, tk, x11 }:
+
{ stdenv, fetchurl, pkgconfig, pure, tcl, tk, xlibsWrapper }:
stdenv.mkDerivation rec {
baseName = "tk";
···
};
buildInputs = [ pkgconfig ];
-
propagatedBuildInputs = [ pure tcl tk x11 ];
+
propagatedBuildInputs = [ pure tcl tk xlibsWrapper ];
makeFlags = "libdir=$(out)/lib prefix=$(out)/";
setupHook = ../generic-setup-hook.sh;
+2 -2
pkgs/development/python-modules/pycairo/default.nix
···
-
{ stdenv, fetchurl, fetchpatch, python, pkgconfig, cairo, x11, isPyPy }:
+
{ stdenv, fetchurl, fetchpatch, python, pkgconfig, cairo, xlibsWrapper, isPyPy }:
if isPyPy then throw "pycairo not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
version = "1.10.0";
···
sha256 = "0xfl1i9dips2nykyg91f5h5r3xpk2hp1js1gq5z0hwjr0in55id4";
};
-
buildInputs = [ python pkgconfig cairo x11 ];
+
buildInputs = [ python pkgconfig cairo xlibsWrapper ];
configurePhase = ''
(
+1 -1
pkgs/development/r-modules/default.nix
···
rgdal = [ pkgs.proj pkgs.gdal ];
rgeos = [ pkgs.geos ];
rggobi = [ pkgs.ggobi pkgs.gtk2 pkgs.libxml2 ];
-
rgl = [ pkgs.mesa pkgs.x11 ];
+
rgl = [ pkgs.mesa pkgs.xlibsWrapper ];
Rglpk = [ pkgs.glpk ];
RGtk2 = [ pkgs.gtk2 ];
Rhpc = [ pkgs.zlib pkgs.bzip2 pkgs.icu pkgs.lzma pkgs.openmpi pkgs.pcre ];
+2 -2
pkgs/games/astromenace/default.nix
···
-
{ fetchurl, stdenv, cmake, x11, mesa, SDL, openal, freealut, libogg, libvorbis }:
+
{ fetchurl, stdenv, cmake, xlibsWrapper, mesa, SDL, openal, freealut, libogg, libvorbis }:
stdenv.mkDerivation rec {
version = "1.3.2";
···
sha256 = "1rkz6lwjcd5mwv72kf07ghvx6z46kf3xs250mjbmnmjpn7r5sxwv";
};
-
buildInputs = [ cmake x11 mesa SDL openal freealut libogg libvorbis ];
+
buildInputs = [ cmake xlibsWrapper mesa SDL openal freealut libogg libvorbis ];
buildPhase = ''
cmake ./
+2 -2
pkgs/games/minetest/default.nix
···
{ stdenv, fetchgit, cmake, irrlicht, libpng, bzip2, curl, libogg, jsoncpp
-
, libjpeg, libXxf86vm, mesa, openal, libvorbis, x11, sqlite, luajit, freetype
+
, libjpeg, libXxf86vm, mesa, openal, libvorbis, xlibsWrapper, sqlite, luajit, freetype
, gettext
}:
···
buildInputs = [
cmake irrlicht libpng bzip2 libjpeg curl libogg jsoncpp libXxf86vm mesa
-
openal libvorbis x11 sqlite luajit freetype gettext
+
openal libvorbis xlibsWrapper sqlite luajit freetype gettext
];
postInstall = ''
+2 -2
pkgs/games/quake3/game/default.nix
···
-
{ lib, stdenv, fetchurl, x11, SDL, mesa, openal, gcc46 }:
+
{ lib, stdenv, fetchurl, xlibsWrapper, SDL, mesa, openal, gcc46 }:
stdenv.mkDerivation {
name = "ioquake3-1.36";
···
./botlib.patch
];
-
buildInputs = [ x11 SDL mesa openal gcc46 ];
+
buildInputs = [ xlibsWrapper SDL mesa openal gcc46 ];
# Fix building on GCC 4.6.
NIX_CFLAGS_COMPILE = "-Wno-error";
+2 -2
pkgs/games/voxelands/default.nix
···
{ stdenv, fetchurl, cmake, irrlicht, libpng, bzip2, sqlite
-
, libjpeg, libXxf86vm, mesa, openal, libvorbis, x11, pkgconfig }:
+
, libjpeg, libXxf86vm, mesa, openal, libvorbis, xlibsWrapper, pkgconfig }:
stdenv.mkDerivation rec {
name = "voxelands-${version}";
···
buildInputs = [
cmake irrlicht libpng bzip2 libjpeg sqlite
-
libXxf86vm mesa openal libvorbis x11 pkgconfig
+
libXxf86vm mesa openal libvorbis xlibsWrapper pkgconfig
];
meta = with stdenv.lib; {
+2 -2
pkgs/games/zoom/default.nix
···
-
{ stdenv, fetchurl, perl, expat, x11, freetype }:
+
{ stdenv, fetchurl, perl, expat, xlibsWrapper, freetype }:
# !!! assert freetype == xlibs.freetype
···
sha256 = "1g6van7f7sg3zfcz80mncnnbccyg2hnm0hq4x558vpsm0lf7z5pj";
};
-
buildInputs = [ perl expat x11 freetype ];
+
buildInputs = [ perl expat xlibsWrapper freetype ];
# Zoom doesn't add the right directory in the include path.
CFLAGS = [ "-I" (freetype + "/include/freetype2") ];
+2 -2
pkgs/misc/emulators/snes9x-gtk/default.nix
···
-
{stdenv, fetchurl, nasm, SDL, zlib, libpng, ncurses, mesa, intltool, gtk, pkgconfig, libxml2, x11, libpulseaudio}:
+
{stdenv, fetchurl, nasm, SDL, zlib, libpng, ncurses, mesa, intltool, gtk, pkgconfig, libxml2, xlibsWrapper, libpulseaudio}:
stdenv.mkDerivation rec {
name = "snes9x-gtk-${version}";
···
sha256 = "9f7c5d2d0fa3fe753611cf94e8879b73b8bb3c0eab97cdbcb6ab7376efa78dc3";
};
-
buildInputs = [ nasm SDL zlib libpng ncurses mesa intltool gtk pkgconfig libxml2 x11 libpulseaudio];
+
buildInputs = [ nasm SDL zlib libpng ncurses mesa intltool gtk pkgconfig libxml2 xlibsWrapper libpulseaudio];
sourceRoot = "snes9x-${version}-src/gtk";
+3 -3
pkgs/misc/ghostscript/default.nix
···
{ stdenv, fetchurl, pkgconfig, zlib, expat, openssl
, libjpeg, libpng, libtiff, freetype, fontconfig, lcms2, libpaper, jbig2dec
, libiconv
-
, x11Support ? false, x11 ? null
+
, x11Support ? false, xlibsWrapper ? null
, cupsSupport ? false, cups ? null
}:
-
assert x11Support -> x11 != null;
+
assert x11Support -> xlibsWrapper != null;
assert cupsSupport -> cups != null;
let
version = "9.15";
···
libjpeg libpng libtiff freetype fontconfig lcms2 libpaper jbig2dec
libiconv
]
-
++ stdenv.lib.optional x11Support x11
+
++ stdenv.lib.optional x11Support xlibsWrapper
++ stdenv.lib.optional cupsSupport cups
# [] # maybe sometimes jpeg2000 support
;
+2 -2
pkgs/misc/screensavers/rss-glx/default.nix
···
-
{stdenv, fetchurl, pkgconfig, x11, libXext, mesa, imagemagick, libtiff, bzip2}:
+
{stdenv, fetchurl, pkgconfig, xlibsWrapper, libXext, mesa, imagemagick, libtiff, bzip2}:
stdenv.mkDerivation rec {
version = "0.9.1";
···
sha256 = "1aikafjqrfmv23jnrrm5d56dg6injh4l67zjdxzdapv9chw7g3cg";
};
-
buildInputs = [ pkgconfig mesa x11 imagemagick libtiff bzip2 ];
+
buildInputs = [ pkgconfig mesa xlibsWrapper imagemagick libtiff bzip2 ];
NIX_CFLAGS_COMPILE = "-I${imagemagick}/include/ImageMagick";
NIX_LDFLAGS= "-rpath ${libXext}/lib";
+2 -2
pkgs/misc/screensavers/xautolock/default.nix
···
-
{stdenv, fetchurl, x11, imake, libXScrnSaver, scrnsaverproto}:
+
{stdenv, fetchurl, xlibsWrapper, imake, libXScrnSaver, scrnsaverproto}:
stdenv.mkDerivation rec
{
···
makeFlags="BINDIR=\${out}/bin MANPATH=\${out}/man";
preBuild = "xmkmf";
installTargets = "install install.man";
-
buildInputs = [x11 imake libXScrnSaver scrnsaverproto];
+
buildInputs = [xlibsWrapper imake libXScrnSaver scrnsaverproto];
}
+2 -2
pkgs/misc/screensavers/xtrlock-pam/default.nix
···
-
{ stdenv, fetchgit, python, pkgconfig, x11, pam }:
+
{ stdenv, fetchgit, python, pkgconfig, xlibsWrapper, pam }:
stdenv.mkDerivation {
name = "xtrlock-pam-3.4-post-20150909";
···
sha256 = "fa8aeedfa2a4e1d813f8cad562bafdd4e2c5130df0a7cde7b2f956a32044e9f8";
};
-
buildInputs = [ python pkgconfig x11 pam ];
+
buildInputs = [ python pkgconfig xlibsWrapper pam ];
configurePhase = ''
substituteInPlace .config/options.py --replace /usr/include/security/pam_appl.h ${pam}/include/security/pam_appl.h
+3 -3
pkgs/os-specific/linux/conky/default.nix
···
# optional features with extra dependencies
, ncursesSupport ? true , ncurses ? null
-
, x11Support ? true , x11 ? null
+
, x11Support ? true , xlibsWrapper ? null
, xdamageSupport ? x11Support, libXdamage ? null
, imlib2Support ? x11Support, imlib2 ? null
···
assert ncursesSupport -> ncurses != null;
-
assert x11Support -> x11 != null;
+
assert x11Support -> xlibsWrapper != null;
assert xdamageSupport -> x11Support && libXdamage != null;
assert imlib2Support -> x11Support && imlib2 != null;
assert luaSupport -> lua != null;
···
buildInputs = [ pkgconfig glib cmake ]
++ optional ncursesSupport ncurses
-
++ optional x11Support x11
+
++ optional x11Support xlibsWrapper
++ optional xdamageSupport libXdamage
++ optional imlib2Support imlib2
++ optional luaSupport lua
+2 -2
pkgs/tools/X11/primus/lib.nix
···
{ stdenv, fetchgit
-
, x11, mesa
+
, xlibsWrapper, mesa
, nvidia
}:
let
···
inherit nvidia mesa;
-
buildInputs = [ x11 mesa ];
+
buildInputs = [ xlibsWrapper mesa ];
builder = ./builder.sh;
}
+2 -2
pkgs/tools/X11/xinput_calibrator/default.nix
···
-
{ stdenv, fetchurl, libXi, inputproto, autoconf, automake, libtool, m4, x11, pkgconfig }:
+
{ stdenv, fetchurl, libXi, inputproto, autoconf, automake, libtool, m4, xlibsWrapper, pkgconfig }:
stdenv.mkDerivation rec {
version = "0.7.5";
···
preConfigure = "./autogen.sh --with-gui=X11";
-
buildInputs = [ inputproto libXi autoconf automake libtool m4 x11 pkgconfig ];
+
buildInputs = [ inputproto libXi autoconf automake libtool m4 xlibsWrapper pkgconfig ];
meta = {
homepage = https://github.com/tias/xinput_calibrator;
+2 -2
pkgs/tools/admin/tightvnc/default.nix
···
-
{ stdenv, fetchurl, x11, zlib, libjpeg, imake, gccmakedep, libXmu
+
{ stdenv, fetchurl, xlibsWrapper, zlib, libjpeg, imake, gccmakedep, libXmu
, libXaw, libXpm, libXp , perl, xauth, fontDirectories, openssh }:
stdenv.mkDerivation {
···
inherit xauth fontDirectories perl;
gcc = stdenv.cc.cc;
-
buildInputs = [ x11 zlib libjpeg imake gccmakedep libXmu libXaw
+
buildInputs = [ xlibsWrapper zlib libjpeg imake gccmakedep libXmu libXaw
libXpm libXp xauth openssh ];
patchPhase = ''
+2 -2
pkgs/tools/audio/pasystray/default.nix
···
{stdenv, fetchFromGitHub, autoconf, automake, makeWrapper, pkgconfig
-
, gnome3, avahi, gtk3, libnotify, libpulseaudio, x11}:
+
, gnome3, avahi, gtk3, libnotify, libpulseaudio, xlibsWrapper}:
stdenv.mkDerivation rec {
name = "pasystray-0.5.2";
···
buildInputs = [ autoconf automake makeWrapper pkgconfig
gnome3.defaultIconTheme
-
avahi gtk3 libnotify libpulseaudio x11 ];
+
avahi gtk3 libnotify libpulseaudio xlibsWrapper ];
preConfigure = ''
aclocal
+2 -2
pkgs/tools/graphics/glxinfo/default.nix
···
-
{stdenv, fetchurl, x11, mesa}:
+
{stdenv, fetchurl, xlibsWrapper, mesa}:
let version = "8.1.0"; in
···
sha256 = "0a58hw5850731p4smz4zqsbvyxvgjf7n5xdbs9l1wamk8q3gl0wp";
};
-
buildInputs = [x11 mesa];
+
buildInputs = [xlibsWrapper mesa];
configurePhase = "true";
+3 -3
pkgs/tools/graphics/graphviz/2.0.nix
···
-
{ stdenv, fetchurl, pkgconfig, x11, libpng, libjpeg, expat, libXaw
+
{ stdenv, fetchurl, pkgconfig, xlibsWrapper, libpng, libjpeg, expat, libXaw
, yacc, libtool, fontconfig, pango, gd
}:
···
sha256 = "39b8e1f2ba4cc1f5bdc8e39c7be35e5f831253008e4ee2c176984f080416676c";
};
-
buildInputs = [pkgconfig x11 libpng libjpeg expat libXaw yacc libtool fontconfig pango gd];
+
buildInputs = [pkgconfig xlibsWrapper libpng libjpeg expat libXaw yacc libtool fontconfig pango gd];
configureFlags =
[ "--with-pngincludedir=${libpng}/include"
···
"--with-expatincludedir=${expat}/include"
"--with-expatlibdir=${expat}/lib"
]
-
++ stdenv.lib.optional (x11 == null) "--without-x";
+
++ stdenv.lib.optional (xlibsWrapper == null) "--without-x";
meta = {
description = "A program for visualising graphs";
+2 -2
pkgs/tools/graphics/scrot/default.nix
···
-
{ stdenv, fetchurl, giblib, x11 }:
+
{ stdenv, fetchurl, giblib, xlibsWrapper }:
stdenv.mkDerivation rec {
name = "scrot-0.8";
···
sha256 = "1wll744rhb49lvr2zs6m93rdmiq59zm344jzqvijrdn24ksiqgb1";
};
-
buildInputs = [ giblib x11 ];
+
buildInputs = [ giblib xlibsWrapper ];
meta = {
homepage = http://linuxbrit.co.uk/scrot/;
+2 -2
pkgs/tools/misc/unclutter/default.nix
···
-
{stdenv, fetchurl, x11}:
+
{stdenv, fetchurl, xlibsWrapper}:
stdenv.mkDerivation {
name = "unclutter-8";
···
sha256 = "33a78949a7dedf2e8669ae7b5b2c72067896497820292c96afaa60bb71d1f2a6";
};
-
buildInputs = [x11];
+
buildInputs = [xlibsWrapper];
installPhase = ''
mkdir -pv "$out/bin"
+2 -2
pkgs/tools/misc/xclip/default.nix
···
-
{ stdenv, fetchsvn, x11, libXmu, autoconf, automake, libtool }:
+
{ stdenv, fetchsvn, xlibsWrapper, libXmu, autoconf, automake, libtool }:
stdenv.mkDerivation rec {
# The last release from 2012, 0.12, lacks '-targets'
···
preConfigure = "autoreconf -vfi";
-
buildInputs = [ x11 libXmu autoconf automake libtool ];
+
buildInputs = [ xlibsWrapper libXmu autoconf automake libtool ];
meta = {
description = "Tool to access the X clipboard from a console application";
+2 -2
pkgs/tools/misc/xsel/default.nix
···
-
{stdenv, fetchurl, x11}:
+
{stdenv, fetchurl, xlibsWrapper}:
stdenv.mkDerivation {
name = "xsel-1.2.0";
···
sha256 = "070lbcpw77j143jrbkh0y1v10ppn1jwmjf92800w7x42vh4cw9xr";
};
-
buildInputs = [x11];
+
buildInputs = [xlibsWrapper];
}
+2 -2
pkgs/tools/networking/x11-ssh-askpass/default.nix
···
-
{stdenv, fetchurl, x11, imake}:
+
{stdenv, fetchurl, xlibsWrapper, imake}:
stdenv.mkDerivation {
name = "x11-ssh-askpass-1.2.4.1";
···
buildPhase = "xmkmf; make includes; make";
-
buildInputs = [x11 imake];
+
buildInputs = [xlibsWrapper imake];
meta = {
homepage = "http://www.jmknoble.net/software/x11-ssh-askpass/";
+2 -2
pkgs/top-level/perl-packages.nix
···
url = "mirror://cpan/authors/id/S/SM/SMCCAM/${name}.tar.gz";
sha256 = "1dq89bh6fqv7l5mbffqcismcljpq5f869bx7g8lg698zgindv5ny";
-
buildInputs = [pkgs.x11];
+
buildInputs = [pkgs.xlibsWrapper];
NIX_CFLAGS_LINK = "-lX11";
doCheck = false; # requires an X server
···
url = "mirror://cpan/authors/id/C/CT/CTRONDLP/${name}.tar.gz";
sha256 = "0jznws68skdzkhgkgcgjlj40qdyh9i75r7fw8bqzy406f19xxvnw";
-
buildInputs = [pkgs.x11 pkgs.xorg.libXtst pkgs.xorg.libXi];
+
buildInputs = [pkgs.xlibsWrapper pkgs.xorg.libXtst pkgs.xorg.libXi];
NIX_CFLAGS_LINK = "-lX11 -lXext -lXtst";
doCheck = false; # requires an X server