xserver: fix cross-compilation
This commit is contained in:
parent
4307907d72
commit
b5e4221402
1 changed files with 1 additions and 0 deletions
|
@ -695,6 +695,7 @@ self: super:
|
|||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ libpciaccess libepoxy ] ++ commonPropagatedBuildInputs ++ lib.optionals stdenv.isLinux [
|
||||
udev
|
||||
];
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
prePatch = lib.optionalString stdenv.hostPlatform.isMusl ''
|
||||
export CFLAGS+=" -D__uid_t=uid_t -D__gid_t=gid_t"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue