rustdesk: fix build (#477828)

This commit is contained in:
Aleksana
2026-01-08 11:58:00 +00:00
committed by GitHub
+5
View File
@@ -111,6 +111,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
xdotool
];
postPatch = ''
sed -e '1i #include <cstdint>' -i $cargoDepsCopy/webm-1.1.0/src/sys/libwebm/mkvparser/mkvparser.cc
sed -e '1i #include <cstdint>' -i $cargoDepsCopy/webm-sys-1.0.4/libwebm/mkvparser/mkvparser.cc
'';
# Add static ui resources and libsciter to same folder as binary so that it
# can find them.
postInstall = ''