Unverified Commit e4f7093f authored by Marcin Serwin's avatar Marcin Serwin Committed by GitHub
Browse files

woomer: unbreak on aarch64-linux (#492423)

parents 48dec384 623d2ed3
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
{
  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;
  };
})
+1657 −0

File added.

Preview size limit exceeded, changes collapsed.