xorg.libpciaccess: fix build on NetBSD
This commit is contained in:
parent
abdc781d4c
commit
13d8068354
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
lib, stdenv, makeWrapper, fetchurl, fetchpatch, fetchFromGitLab, buildPackages,
|
lib, stdenv, makeWrapper, fetchurl, fetchpatch, fetchFromGitLab, buildPackages,
|
||||||
automake, autoconf, libiconv, libtool, intltool,
|
automake, autoconf, libiconv, libtool, intltool,
|
||||||
freetype, tradcpp, fontconfig, meson, ninja, ed, fontforge,
|
freetype, tradcpp, fontconfig, meson, ninja, ed, fontforge,
|
||||||
libGL, spice-protocol, zlib, libGLU, dbus, libunwind, libdrm,
|
libGL, spice-protocol, zlib, libGLU, dbus, libunwind, libdrm, netbsd,
|
||||||
mesa, udev, bootstrap_cmds, bison, flex, clangStdenv, autoreconfHook,
|
mesa, udev, bootstrap_cmds, bison, flex, clangStdenv, autoreconfHook,
|
||||||
mcpp, libepoxy, openssl, pkg-config, llvm, libxslt, libxcrypt,
|
mcpp, libepoxy, openssl, pkg-config, llvm, libxslt, libxcrypt,
|
||||||
ApplicationServices, Carbon, Cocoa, Xplugin,
|
ApplicationServices, Carbon, Cocoa, Xplugin,
|
||||||
|
@ -328,6 +328,8 @@ self: super:
|
||||||
});
|
});
|
||||||
|
|
||||||
libpciaccess = super.libpciaccess.overrideAttrs (attrs: {
|
libpciaccess = super.libpciaccess.overrideAttrs (attrs: {
|
||||||
|
buildInputs = lib.optionals stdenv.hostPlatform.isNetBSD (with netbsd; [ libarch libpci ]);
|
||||||
|
|
||||||
meta = attrs.meta // {
|
meta = attrs.meta // {
|
||||||
# https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/blob/master/configure.ac#L108-114
|
# https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/blob/master/configure.ac#L108-114
|
||||||
platforms = lib.fold (os: ps: ps ++ lib.platforms.${os}) []
|
platforms = lib.fold (os: ps: ps ++ lib.platforms.${os}) []
|
||||||
|
|
Loading…
Reference in a new issue