From 3ddd9479c9fb102ea36a5b5f8be6153d1c2908ed Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 30 Mar 2022 15:32:40 -0700 Subject: [PATCH] mesa: Fix cross-compilation Signed-off-by: Anders Kaseorg --- pkgs/development/libraries/mesa/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix index a732fa92e0ea..cb31399ac792 100644 --- a/pkgs/development/libraries/mesa/default.nix +++ b/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