mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
mesa: Fix cross-compilation
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
f5f9b6af9d
commit
3ddd9479c9
@ -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…
Reference in New Issue
Block a user