woomer: unbreak on aarch64-linux (#492423)

This commit is contained in:
Marcin Serwin
2026-04-24 15:16:21 +00:00
committed by GitHub
2 changed files with 1664 additions and 5 deletions
+7 -5
View File
@@ -1,6 +1,5 @@
{
lib,
stdenv,
cmake,
fetchFromGitHub,
glfw3,
@@ -22,7 +21,13 @@ rustPlatform.buildRustPackage (finalAttrs: {
hash = "sha256-LcL43Wq+5d7HPsm2bEK0vZsjP/dixtNhMKywXMi4ODw=";
};
cargoHash = "sha256-xll/A0synEsXy9kPThA3bR8LRuAOQH0T6CAfIEoYJ0w=";
cargoPatches = [
# fix compilation on aarch64
# remove when https://github.com/coffeeispower/woomer/pull/30 is merged
./unbreak-aarch64-linux.patch
];
cargoHash = "sha256-mSyTQU/PtibkepFrYh6nrRtnsd1jONaPXt9Y5SiE3/U=";
strictDeps = true;
@@ -70,8 +75,5 @@ rustPlatform.buildRustPackage (finalAttrs: {
# https://github.com/waycrate/wayshot/blob/cb6bd68dbbe6ab70a5d8fe3bd04cc154f0631cd8/libwayshot/src/screencopy.rs#L11
# https://github.com/nix-rust/nix/blob/0e4353a368abfcedea4ebe4345cf7604bb61d238/src/sys/mod.rs#L40-L44
platforms = lib.platforms.linux ++ lib.platforms.freebsd;
# TODO: Remove after upstream is no longer affected by
# https://github.com/raylib-rs/raylib-rs/issues/74
broken = stdenv.hostPlatform.isAarch64;
};
})
File diff suppressed because it is too large Load Diff