xorg.libXi: fix cross

This commit is contained in:
Robin Gloster 2019-05-07 02:29:25 +02:00
parent d8a74e9a0c
commit abb10fe7ae
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -198,6 +198,9 @@ self: super:
libXi = super.libXi.overrideAttrs (attrs: {
outputs = [ "out" "dev" "man" "doc" ];
propagatedBuildInputs = [ self.libXfixes ];
configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"xorg_cv_malloc0_returns_null=no"
];
});
libXinerama = super.libXinerama.overrideAttrs (attrs: {