mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
xserver: fix cross-compilation
This commit is contained in:
parent
4307907d72
commit
b5e4221402
@ -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 New Issue
Block a user