mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
xorg.libpciaccess: fix build on NetBSD
This commit is contained in:
parent
abdc781d4c
commit
13d8068354
@ -3,7 +3,7 @@
|
||||
lib, stdenv, makeWrapper, fetchurl, fetchpatch, fetchFromGitLab, buildPackages,
|
||||
automake, autoconf, libiconv, libtool, intltool,
|
||||
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,
|
||||
mcpp, libepoxy, openssl, pkg-config, llvm, libxslt, libxcrypt,
|
||||
ApplicationServices, Carbon, Cocoa, Xplugin,
|
||||
@ -328,6 +328,8 @@ self: super:
|
||||
});
|
||||
|
||||
libpciaccess = super.libpciaccess.overrideAttrs (attrs: {
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isNetBSD (with netbsd; [ libarch libpci ]);
|
||||
|
||||
meta = attrs.meta // {
|
||||
# https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/blob/master/configure.ac#L108-114
|
||||
platforms = lib.fold (os: ps: ps ++ lib.platforms.${os}) []
|
||||
|
Loading…
Reference in New Issue
Block a user