xorg.libpciaccess: broaden platforms

This commit is contained in:
Alyssa Ross 2023-01-12 21:07:09 +00:00
parent 0a77e09a83
commit abdc781d4c
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -328,7 +328,11 @@ self: super:
});
libpciaccess = super.libpciaccess.overrideAttrs (attrs: {
meta = attrs.meta // { platforms = lib.platforms.linux; };
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}) []
[ "cygwin" "freebsd" "linux" "netbsd" "openbsd" "illumos" ];
};
});
setxkbmap = super.setxkbmap.overrideAttrs (attrs: {