Skip to content

Commit

Permalink
mesa: fixup build after rust-bindgen update
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Apr 28, 2023
1 parent 0872ce0 commit 307c3bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/libraries/mesa/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ self = stdenv.mkDerivation {
"get_option('datadir')" "'${placeholder "out"}/share'"
substituteInPlace src/amd/vulkan/meson.build --replace \
"get_option('datadir')" "'${placeholder "out"}/share'"
''
# TODO: can be removed >= 23.0.4 (most likely)
# https://gitlab.freedesktop.org/mesa/mesa/-/commit/035aa34ed5eb418339c0e2d2
+ ''
sed '/--size_t-is-usize/d' -i src/gallium/frontends/rusticl/meson.build
'';

outputs = [ "out" "dev" "drivers" ]
Expand Down

0 comments on commit 307c3bd

Please sign in to comment.