From b7893a700daf186492a8ba0b3ee77856ae9fcbea Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Thu, 29 Nov 2018 03:37:26 +0100 Subject: [PATCH] xorg.libXv: fix cross --- pkgs/servers/x11/xorg/overrides.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/x11/xorg/overrides.nix b/pkgs/servers/x11/xorg/overrides.nix index 46dcdcd92253..afcf2708ac02 100644 --- a/pkgs/servers/x11/xorg/overrides.nix +++ b/pkgs/servers/x11/xorg/overrides.nix @@ -245,6 +245,8 @@ self: super: libXv = super.libXv.overrideAttrs (attrs: { outputs = [ "out" "dev" "devdoc" ]; + configureFlags = attrs.configureFlags or [] + ++ malloc0ReturnsNullCrossFlag; }); libXvMC = super.libXvMC.overrideAttrs (attrs: {