Merge #166494: mesa: Fix cross-compilation

...into staging-next
This commit is contained in:
Vladimír Čunát
2022-04-10 11:12:28 +02:00
+2 -1
View File
@@ -154,6 +154,7 @@ self = stdenv.mkDerivation {
meson pkg-config ninja
intltool bison flex file
python3Packages.python python3Packages.Mako
jdupes
] ++ lib.optionals (elem "wayland" eglPlatforms) [
wayland-scanner
];
@@ -230,7 +231,7 @@ self = stdenv.mkDerivation {
done
# NAR doesn't support hard links, so convert them to symlinks to save space.
${jdupes}/bin/jdupes --hard-links --link-soft --recurse "$drivers"
jdupes --hard-links --link-soft --recurse "$drivers"
# add RPATH so the drivers can find the moved libgallium and libdricore9
# moved here to avoid problems with stripping patchelfed files