Merge pull request #199912 from Artturin/xorgsplicing1
xorg: improve splicing situtation
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
{ lib, newScope, pixman }:
|
||||
{ lib, pixman }:
|
||||
|
||||
lib.makeScope newScope (self: with self; {
|
||||
self: with self; {
|
||||
|
||||
inherit pixman;
|
||||
|
||||
@@ -70,7 +70,7 @@ lib.makeScope newScope (self: with self; {
|
||||
}) {};
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
encodings = callPackage ({ stdenv, pkg-config, fetchurl }: stdenv.mkDerivation {
|
||||
encodings = callPackage ({ stdenv, pkg-config, fetchurl, mkfontscale }: stdenv.mkDerivation {
|
||||
pname = "encodings";
|
||||
version = "1.0.5";
|
||||
builder = ./builder.sh;
|
||||
@@ -80,7 +80,7 @@ lib.makeScope newScope (self: with self; {
|
||||
};
|
||||
hardeningDisable = [ "bindnow" "relro" ];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [ pkg-config mkfontscale ];
|
||||
buildInputs = [ ];
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
@@ -99,6 +99,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -116,6 +117,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -133,6 +135,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -150,6 +153,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -167,6 +171,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -200,6 +205,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -217,6 +223,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -234,6 +241,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -251,6 +259,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -268,6 +277,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -285,6 +295,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -302,6 +313,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -319,6 +331,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -336,6 +349,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -353,6 +367,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -370,6 +385,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -387,6 +403,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -404,6 +421,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -421,6 +439,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -438,6 +457,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -455,6 +475,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -472,6 +493,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -489,6 +511,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -506,6 +529,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -523,6 +547,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -540,6 +565,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -557,6 +583,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -574,6 +601,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -591,6 +619,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -608,6 +637,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -625,6 +655,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -642,6 +673,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -691,6 +723,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -708,6 +741,7 @@ lib.makeScope newScope (self: with self; {
|
||||
nativeBuildInputs = [ pkg-config mkfontscale ];
|
||||
buildInputs = [ fontutil ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' '';
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -1976,7 +2010,7 @@ lib.makeScope newScope (self: with self; {
|
||||
}) {};
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xdm = callPackage ({ stdenv, pkg-config, fetchurl, libX11, libXau, libXaw, libXdmcp, libXext, libXft, libXinerama, libXmu, libXpm, libxcrypt, xorgproto, libXrender, libXt }: stdenv.mkDerivation {
|
||||
xdm = callPackage ({ stdenv, pkg-config, fetchurl, libX11, libXau, libXaw, libXdmcp, libXext, libXft, libXinerama, libXmu, libXpm, xorgproto, libXrender, libXt }: stdenv.mkDerivation {
|
||||
pname = "xdm";
|
||||
version = "1.1.12";
|
||||
builder = ./builder.sh;
|
||||
@@ -1987,7 +2021,7 @@ lib.makeScope newScope (self: with self; {
|
||||
hardeningDisable = [ "bindnow" "relro" ];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libX11 libXau libXaw libXdmcp libXext libXft libXinerama libXmu libXpm xorgproto libXrender libXt libxcrypt ];
|
||||
buildInputs = [ libX11 libXau libXaw libXdmcp libXext libXft libXinerama libXmu libXpm xorgproto libXrender libXt ];
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
@@ -3559,4 +3593,4 @@ lib.makeScope newScope (self: with self; {
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
@@ -154,7 +154,7 @@ while (<>) {
|
||||
push @nativeRequires, "bdftopcf";
|
||||
}
|
||||
|
||||
if ($file =~ /AC_PATH_PROG\(MKFONTSCALE/) {
|
||||
if ($file =~ /AC_PATH_PROG\(MKFONTSCALE/ || $file =~ /XORG_FONT_REQUIRED_PROG\(MKFONTSCALE/) {
|
||||
push @nativeRequires, "mkfontscale";
|
||||
}
|
||||
|
||||
@@ -192,6 +192,7 @@ while (<>) {
|
||||
if ($isFont) {
|
||||
push @requires, "fontutil";
|
||||
push @{$extraAttrs{$pkg}}, "configureFlags = [ \"--with-fontrootdir=\$(out)/lib/X11/fonts\" ];";
|
||||
push @{$extraAttrs{$pkg}}, "postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`\$PKG_CONFIG' '';";
|
||||
}
|
||||
|
||||
sub process {
|
||||
@@ -250,9 +251,9 @@ open OUT, ">default.nix";
|
||||
print OUT "";
|
||||
print OUT <<EOF;
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
{ lib, newScope, pixman }:
|
||||
{ lib, pixman }:
|
||||
|
||||
lib.makeScope newScope (self: with self; {
|
||||
self: with self; {
|
||||
|
||||
inherit pixman;
|
||||
|
||||
@@ -336,6 +337,6 @@ foreach my $pkg (sort (keys %pkgURLs)) {
|
||||
EOF
|
||||
}
|
||||
|
||||
print OUT "})\n";
|
||||
print OUT "}\n";
|
||||
|
||||
close OUT;
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
freetype, tradcpp, fontconfig, meson, ninja, ed, fontforge,
|
||||
libGL, spice-protocol, zlib, libGLU, dbus, libunwind, libdrm,
|
||||
mesa, udev, bootstrap_cmds, bison, flex, clangStdenv, autoreconfHook,
|
||||
mcpp, libepoxy, openssl, pkg-config, llvm, libxslt,
|
||||
ApplicationServices, Carbon, Cocoa, Xplugin
|
||||
mcpp, libepoxy, openssl, pkg-config, llvm, libxslt, libxcrypt,
|
||||
ApplicationServices, Carbon, Cocoa, Xplugin,
|
||||
xorg
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -23,7 +24,7 @@ in
|
||||
self: super:
|
||||
{
|
||||
bdftopcf = super.bdftopcf.overrideAttrs (attrs: {
|
||||
buildInputs = attrs.buildInputs ++ [ self.xorgproto ];
|
||||
buildInputs = attrs.buildInputs ++ [ xorg.xorgproto ];
|
||||
});
|
||||
|
||||
bitmap = super.bitmap.overrideAttrs (attrs: {
|
||||
@@ -32,7 +33,7 @@ self: super:
|
||||
paths=(
|
||||
"$out/share/X11/%T/%N"
|
||||
"$out/include/X11/%T/%N"
|
||||
"${self.xbitmaps}/include/X11/%T/%N"
|
||||
"${xorg.xbitmaps}/include/X11/%T/%N"
|
||||
)
|
||||
wrapProgram "$out/bin/bitmap" \
|
||||
--suffix XFILESEARCHPATH : $(IFS=:; echo "''${paths[*]}")
|
||||
@@ -41,10 +42,6 @@ self: super:
|
||||
'';
|
||||
});
|
||||
|
||||
encodings = super.encodings.overrideAttrs (attrs: {
|
||||
nativeBuildInputs = attrs.nativeBuildInputs ++ [ self.mkfontscale ];
|
||||
});
|
||||
|
||||
editres = super.editres.overrideAttrs (attrs: {
|
||||
hardeningDisable = [ "format" ];
|
||||
});
|
||||
@@ -52,7 +49,7 @@ self: super:
|
||||
fontmiscmisc = super.fontmiscmisc.overrideAttrs (attrs: {
|
||||
postInstall =
|
||||
''
|
||||
ALIASFILE=${self.fontalias}/share/fonts/X11/misc/fonts.alias
|
||||
ALIASFILE=${xorg.fontalias}/share/fonts/X11/misc/fonts.alias
|
||||
test -f $ALIASFILE
|
||||
cp $ALIASFILE $out/lib/X11/fonts/misc/fonts.alias
|
||||
'';
|
||||
@@ -63,7 +60,7 @@ self: super:
|
||||
});
|
||||
|
||||
imake = super.imake.overrideAttrs (attrs: {
|
||||
inherit (self) xorgcffiles;
|
||||
inherit (xorg) xorgcffiles;
|
||||
x11BuildHook = ./imake.sh;
|
||||
patches = [./imake.patch ./imake-cc-wrapper-uberhack.patch];
|
||||
setupHook = ./imake-setup-hook.sh;
|
||||
@@ -74,7 +71,7 @@ self: super:
|
||||
inherit tradcpp;
|
||||
});
|
||||
|
||||
mkfontdir = self.mkfontscale;
|
||||
mkfontdir = xorg.mkfontscale;
|
||||
|
||||
libxcb = super.libxcb.overrideAttrs (attrs: {
|
||||
configureFlags = [ "--enable-xkb" "--enable-xinput" ]
|
||||
@@ -89,7 +86,7 @@ self: super:
|
||||
depsBuildBuild = [
|
||||
buildPackages.stdenv.cc
|
||||
] ++ lib.optionals stdenv.hostPlatform.isStatic [
|
||||
(self.buildPackages.stdenv.cc.libc.static or null)
|
||||
(xorg.buildPackages.stdenv.cc.libc.static or null)
|
||||
];
|
||||
preConfigure = ''
|
||||
sed 's,^as_dummy.*,as_dummy="\$PATH",' -i configure
|
||||
@@ -99,7 +96,7 @@ self: super:
|
||||
rm -rf $out/share/doc
|
||||
'';
|
||||
CPP = lib.optionalString stdenv.isDarwin "clang -E -";
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.xorgproto ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.xorgproto ];
|
||||
});
|
||||
|
||||
libAppleWM = super.libAppleWM.overrideAttrs (attrs: {
|
||||
@@ -111,7 +108,7 @@ self: super:
|
||||
|
||||
libXau = super.libXau.overrideAttrs (attrs: {
|
||||
outputs = [ "out" "dev" ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.xorgproto ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.xorgproto ];
|
||||
});
|
||||
|
||||
libXdmcp = super.libXdmcp.overrideAttrs (attrs: {
|
||||
@@ -152,6 +149,10 @@ self: super:
|
||||
'';
|
||||
});
|
||||
|
||||
xdm = super.xdm.overrideAttrs (attrs: {
|
||||
buildInputs = attrs.buildInputs ++ [ libxcrypt ];
|
||||
});
|
||||
|
||||
# Propagate some build inputs because of header file dependencies.
|
||||
# Note: most of these are in Requires.private, so maybe builder.sh
|
||||
# should propagate them automatically.
|
||||
@@ -161,7 +162,7 @@ self: super:
|
||||
'';
|
||||
configureFlags = attrs.configureFlags or []
|
||||
++ malloc0ReturnsNullCrossFlag;
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.libSM ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libSM ];
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
CPP = if stdenv.isDarwin then "clang -E -" else "${stdenv.cc.targetPrefix}cc -E -";
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
@@ -181,12 +182,12 @@ self: super:
|
||||
|
||||
libXcomposite = super.libXcomposite.overrideAttrs (attrs: {
|
||||
outputs = [ "out" "dev" ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.libXfixes ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libXfixes ];
|
||||
});
|
||||
|
||||
libXaw = super.libXaw.overrideAttrs (attrs: {
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.libXmu ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libXmu ];
|
||||
});
|
||||
|
||||
libXcursor = super.libXcursor.overrideAttrs (attrs: {
|
||||
@@ -199,7 +200,7 @@ self: super:
|
||||
|
||||
libXft = super.libXft.overrideAttrs (attrs: {
|
||||
outputs = [ "out" "dev" ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.libXrender freetype fontconfig ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libXrender freetype fontconfig ];
|
||||
configureFlags = attrs.configureFlags or []
|
||||
++ malloc0ReturnsNullCrossFlag;
|
||||
|
||||
@@ -214,7 +215,7 @@ self: super:
|
||||
|
||||
libXext = super.libXext.overrideAttrs (attrs: {
|
||||
outputs = [ "out" "dev" "man" "doc" ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.xorgproto self.libXau ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.xorgproto xorg.libXau ];
|
||||
configureFlags = attrs.configureFlags or []
|
||||
++ malloc0ReturnsNullCrossFlag;
|
||||
});
|
||||
@@ -225,7 +226,7 @@ self: super:
|
||||
|
||||
libXi = super.libXi.overrideAttrs (attrs: {
|
||||
outputs = [ "out" "dev" "man" "doc" ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.libXfixes self.libXext ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libXfixes xorg.libXext ];
|
||||
configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"xorg_cv_malloc0_returns_null=no"
|
||||
] ++ lib.optional stdenv.hostPlatform.isStatic "--disable-shared";
|
||||
@@ -246,30 +247,30 @@ self: super:
|
||||
outputs = [ "out" "dev" ];
|
||||
configureFlags = attrs.configureFlags or []
|
||||
++ malloc0ReturnsNullCrossFlag;
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.libXrender ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libXrender ];
|
||||
});
|
||||
|
||||
libSM = super.libSM.overrideAttrs (attrs: {
|
||||
outputs = [ "out" "dev" "doc" ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.libICE ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libICE ];
|
||||
});
|
||||
|
||||
libXrender = super.libXrender.overrideAttrs (attrs: {
|
||||
outputs = [ "out" "dev" "doc" ];
|
||||
configureFlags = attrs.configureFlags or []
|
||||
++ malloc0ReturnsNullCrossFlag;
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.xorgproto ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.xorgproto ];
|
||||
});
|
||||
|
||||
libXres = super.libXres.overrideAttrs (attrs: {
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
buildInputs = with self; attrs.buildInputs ++ [ utilmacros ];
|
||||
buildInputs = with xorg; attrs.buildInputs ++ [ utilmacros ];
|
||||
configureFlags = attrs.configureFlags or []
|
||||
++ malloc0ReturnsNullCrossFlag;
|
||||
});
|
||||
|
||||
libXScrnSaver = super.libXScrnSaver.overrideAttrs (attrs: {
|
||||
buildInputs = with self; attrs.buildInputs ++ [ utilmacros ];
|
||||
buildInputs = with xorg; attrs.buildInputs ++ [ utilmacros ];
|
||||
configureFlags = attrs.configureFlags or []
|
||||
++ malloc0ReturnsNullCrossFlag;
|
||||
});
|
||||
@@ -284,7 +285,7 @@ self: super:
|
||||
outputs = [ "out" "dev" "doc" ];
|
||||
configureFlags = attrs.configureFlags or []
|
||||
++ malloc0ReturnsNullCrossFlag;
|
||||
buildInputs = attrs.buildInputs ++ [self.xorgproto];
|
||||
buildInputs = attrs.buildInputs ++ [xorg.xorgproto];
|
||||
});
|
||||
|
||||
libXp = super.libXp.overrideAttrs (attrs: {
|
||||
@@ -297,7 +298,7 @@ self: super:
|
||||
});
|
||||
|
||||
libXpresent = super.libXpresent.overrideAttrs (attrs: {
|
||||
buildInputs = with self; attrs.buildInputs ++ [ libXext libXfixes libXrandr ];
|
||||
buildInputs = with xorg; attrs.buildInputs ++ [ libXext libXfixes libXrandr ];
|
||||
});
|
||||
|
||||
libxkbfile = super.libxkbfile.overrideAttrs (attrs: {
|
||||
@@ -321,8 +322,8 @@ self: super:
|
||||
postInstall =
|
||||
''
|
||||
mkdir -p $out/share/man/man7
|
||||
ln -sfn ${self.xkeyboardconfig}/etc/X11 $out/share/X11
|
||||
ln -sfn ${self.xkeyboardconfig}/share/man/man7/xkeyboard-config.7.gz $out/share/man/man7
|
||||
ln -sfn ${xorg.xkeyboardconfig}/etc/X11 $out/share/X11
|
||||
ln -sfn ${xorg.xkeyboardconfig}/share/man/man7/xkeyboard-config.7.gz $out/share/man/man7
|
||||
'';
|
||||
});
|
||||
|
||||
@@ -444,7 +445,7 @@ self: super:
|
||||
|
||||
xf86videoati = super.xf86videoati.overrideAttrs (attrs: {
|
||||
nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook ];
|
||||
buildInputs = attrs.buildInputs ++ [ self.utilmacros ];
|
||||
buildInputs = attrs.buildInputs ++ [ xorg.utilmacros ];
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/commit/e0511968d04b42abf11bc0ffb387f143582bc144.patch";
|
||||
@@ -455,12 +456,12 @@ self: super:
|
||||
|
||||
xf86videonouveau = super.xf86videonouveau.overrideAttrs (attrs: {
|
||||
nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook ];
|
||||
buildInputs = attrs.buildInputs ++ [ self.utilmacros ];
|
||||
buildInputs = attrs.buildInputs ++ [ xorg.utilmacros ];
|
||||
});
|
||||
|
||||
xf86videoglint = super.xf86videoglint.overrideAttrs (attrs: {
|
||||
nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook ];
|
||||
buildInputs = attrs.buildInputs ++ [ self.utilmacros ];
|
||||
buildInputs = attrs.buildInputs ++ [ xorg.utilmacros ];
|
||||
# https://gitlab.freedesktop.org/xorg/driver/xf86-video-glint/-/issues/1
|
||||
meta = attrs.meta // { broken = true; };
|
||||
});
|
||||
@@ -599,11 +600,11 @@ self: super:
|
||||
});
|
||||
|
||||
xvinfo = super.xvinfo.overrideAttrs (attrs: {
|
||||
buildInputs = attrs.buildInputs ++ [self.libXext];
|
||||
buildInputs = attrs.buildInputs ++ [xorg.libXext];
|
||||
});
|
||||
|
||||
xkbcomp = super.xkbcomp.overrideAttrs (attrs: {
|
||||
configureFlags = [ "--with-xkb-config-root=${self.xkeyboardconfig}/share/X11/xkb" ];
|
||||
configureFlags = [ "--with-xkb-config-root=${xorg.xkeyboardconfig}/share/X11/xkb" ];
|
||||
});
|
||||
|
||||
xkeyboardconfig = super.xkeyboardconfig.overrideAttrs (attrs: {
|
||||
@@ -693,7 +694,7 @@ self: super:
|
||||
EOF
|
||||
'';
|
||||
in
|
||||
self.xkeyboardconfig.overrideAttrs (old: {
|
||||
xorg.xkeyboardconfig.overrideAttrs (old: {
|
||||
buildInputs = old.buildInputs ++ [ automake ];
|
||||
postPatch = with lib; concatStrings (mapAttrsToList patchIn layouts);
|
||||
});
|
||||
@@ -714,7 +715,7 @@ self: super:
|
||||
mesonFlags = [ "-Dlegacy=true" ];
|
||||
});
|
||||
|
||||
xorgserver = with self; super.xorgserver.overrideAttrs (attrs_passed:
|
||||
xorgserver = with xorg; super.xorgserver.overrideAttrs (attrs_passed:
|
||||
# exchange attrs if abiCompat is set
|
||||
let
|
||||
version = lib.getVersion attrs_passed;
|
||||
@@ -821,8 +822,8 @@ self: super:
|
||||
"--enable-xcsecurity" # enable SECURITY extension
|
||||
"--with-default-font-path=" # there were only paths containing "${prefix}",
|
||||
# and there are no fonts in this package anyway
|
||||
"--with-xkb-bin-directory=${self.xkbcomp}/bin"
|
||||
"--with-xkb-path=${self.xkeyboardconfig}/share/X11/xkb"
|
||||
"--with-xkb-bin-directory=${xorg.xkbcomp}/bin"
|
||||
"--with-xkb-path=${xorg.xkeyboardconfig}/share/X11/xkb"
|
||||
"--with-xkb-output=$out/share/X11/xkb/compiled"
|
||||
"--with-log-dir=/var/log"
|
||||
"--enable-glamor"
|
||||
@@ -842,7 +843,7 @@ self: super:
|
||||
'';
|
||||
passthru.version = version; # needed by virtualbox guest additions
|
||||
} else {
|
||||
nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook self.utilmacros self.fontutil ];
|
||||
nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook xorg.utilmacros xorg.fontutil ];
|
||||
buildInputs = commonBuildInputs ++ [
|
||||
bootstrap_cmds automake autoconf
|
||||
Xplugin Carbon Cocoa
|
||||
@@ -930,8 +931,8 @@ self: super:
|
||||
});
|
||||
|
||||
xcursorthemes = super.xcursorthemes.overrideAttrs (attrs: {
|
||||
nativeBuildInputs = attrs.nativeBuildInputs ++ [ self.xcursorgen ];
|
||||
buildInputs = attrs.buildInputs ++ [ self.xorgproto ];
|
||||
nativeBuildInputs = attrs.nativeBuildInputs ++ [ xorg.xcursorgen ];
|
||||
buildInputs = attrs.buildInputs ++ [ xorg.xorgproto ];
|
||||
configureFlags = [ "--with-cursordir=$(out)/share/icons" ];
|
||||
});
|
||||
|
||||
@@ -941,7 +942,7 @@ self: super:
|
||||
buildInputs = attrs.buildInputs ++ lib.optional isDarwin bootstrap_cmds;
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
configureFlags = [
|
||||
"--with-xserver=${self.xorgserver.out}/bin/X"
|
||||
"--with-xserver=${xorg.xorgserver.out}/bin/X"
|
||||
] ++ lib.optionals isDarwin [
|
||||
"--with-bundle-id-prefix=org.nixos.xquartz"
|
||||
"--with-launchdaemons-dir=\${out}/LaunchDaemons"
|
||||
@@ -959,8 +960,8 @@ self: super:
|
||||
# Avoid replacement of word-looking cpp's builtin macros in Nix's cross-compiled paths
|
||||
substituteInPlace Makefile.in --replace "PROGCPPDEFS =" "PROGCPPDEFS = -Dlinux=linux -Dunix=unix"
|
||||
'';
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.xauth ]
|
||||
++ lib.optionals isDarwin [ self.libX11 self.xorgproto ];
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.xauth ]
|
||||
++ lib.optionals isDarwin [ xorg.libX11 xorg.xorgproto ];
|
||||
postFixup = ''
|
||||
substituteInPlace $out/bin/startx --replace $out/etc/X11/xinit/xserverrc /etc/X11/xinit/xserverrc
|
||||
'';
|
||||
@@ -977,7 +978,7 @@ self: super:
|
||||
rev = "31486f40f8e8f8923ca0799aea84b58799754564";
|
||||
sha256 = "sha256-nqT9VZDb2kAC72ot9UCdwEkM1uuP9NriJePulzrdZlM=";
|
||||
};
|
||||
buildInputs = attrs.buildInputs ++ [ self.libXScrnSaver self.libXfixes self.libXv self.pixman self.utilmacros ];
|
||||
buildInputs = attrs.buildInputs ++ [ xorg.libXScrnSaver xorg.libXfixes xorg.libXv xorg.pixman xorg.utilmacros ];
|
||||
nativeBuildInputs = attrs.nativeBuildInputs ++ [autoreconfHook ];
|
||||
configureFlags = [ "--with-default-dri=3" "--enable-tools" ];
|
||||
|
||||
@@ -987,7 +988,7 @@ self: super:
|
||||
});
|
||||
|
||||
xf86videoopenchrome = super.xf86videoopenchrome.overrideAttrs (attrs: {
|
||||
buildInputs = attrs.buildInputs ++ [ self.libXv ];
|
||||
buildInputs = attrs.buildInputs ++ [ xorg.libXv ];
|
||||
patches = [
|
||||
# Pull upstream fix for -fno-common toolchains.
|
||||
(fetchpatch {
|
||||
|
||||
@@ -217,4 +217,4 @@ mirror://xorg/individual/util/lndir-1.0.3.tar.bz2
|
||||
mirror://xorg/individual/util/makedepend-1.0.6.tar.bz2
|
||||
mirror://xorg/individual/util/util-macros-1.19.3.tar.bz2
|
||||
mirror://xorg/individual/util/xorg-cf-files-1.0.7.tar.bz2
|
||||
mirror://xorg/individual/xserver/xorg-server-1.20.13.tar.xz
|
||||
mirror://xorg/individual/xserver/xorg-server-1.20.14.tar.xz
|
||||
|
||||
@@ -24628,19 +24628,41 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.libs) Xplugin;
|
||||
};
|
||||
|
||||
# Use `lib.callPackageWith __splicedPackages` rather than plain `callPackage`
|
||||
# so as not to have the newly bound xorg items already in scope, which would
|
||||
# have created a cycle.
|
||||
xorg = recurseIntoAttrs ((lib.callPackageWith __splicedPackages ../servers/x11/xorg {
|
||||
}).overrideScope' (lib.callPackageWith __splicedPackages ../servers/x11/xorg/overrides.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon Cocoa;
|
||||
inherit (darwin.apple_sdk.libs) Xplugin;
|
||||
inherit (buildPackages.darwin) bootstrap_cmds;
|
||||
udev = if stdenv.isLinux then udev else null;
|
||||
libdrm = if stdenv.isLinux then libdrm else null;
|
||||
abiCompat = config.xorg.abiCompat # `config` because we have no `xorg.override`
|
||||
or (if stdenv.isDarwin then "1.18" else null); # 1.19 needs fixing on Darwin
|
||||
}));
|
||||
xorg = let
|
||||
otherSplices = {
|
||||
selfBuildBuild = pkgsBuildBuild.xorg;
|
||||
selfBuildHost = pkgsBuildHost.xorg;
|
||||
selfBuildTarget = pkgsBuildTarget.xorg;
|
||||
selfHostHost = pkgsHostHost.xorg;
|
||||
selfTargetTarget = pkgsTargetTarget.xorg or { };
|
||||
};
|
||||
keep = _self: { };
|
||||
extra = _spliced0: { };
|
||||
|
||||
# Use `lib.callPackageWith __splicedPackages` rather than plain `callPackage`
|
||||
# so as not to have the newly bound xorg items already in scope, which would
|
||||
# have created a cycle.
|
||||
overrides = lib.callPackageWith __splicedPackages ../servers/x11/xorg/overrides.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon Cocoa;
|
||||
inherit (darwin.apple_sdk.libs) Xplugin;
|
||||
inherit (buildPackages.darwin) bootstrap_cmds;
|
||||
udev = if stdenv.isLinux then udev else null;
|
||||
libdrm = if stdenv.isLinux then libdrm else null;
|
||||
abiCompat = config.xorg.abiCompat # `config` because we have no `xorg.override`
|
||||
or (if stdenv.isDarwin then "1.18" else null); # 1.19 needs fixing on Darwin
|
||||
};
|
||||
|
||||
generatedPackages = lib.callPackageWith __splicedPackages ../servers/x11/xorg/default.nix {};
|
||||
|
||||
xorgPackages = lib.makeScopeWithSplicing
|
||||
splicePackages
|
||||
newScope
|
||||
otherSplices
|
||||
keep
|
||||
extra
|
||||
(lib.extends overrides generatedPackages);
|
||||
|
||||
in recurseIntoAttrs xorgPackages;
|
||||
|
||||
xorg-autoconf = callPackage ../development/tools/misc/xorg-autoconf { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user