mesa: Fix cross-compilation

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
main
Anders Kaseorg 2 years ago
parent f5f9b6af9d
commit 3ddd9479c9
  1. 3
      pkgs/development/libraries/mesa/default.nix

@ -159,6 +159,7 @@ self = stdenv.mkDerivation {
meson pkg-config ninja
intltool bison flex file
python3Packages.python python3Packages.Mako
jdupes
] ++ lib.optionals (elem "wayland" eglPlatforms) [
wayland-scanner
];
@ -235,7 +236,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

Loading…
Cancel
Save