From b22aa9dcb0c6c9b327a15fae505e6ba49cb45606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Mon, 25 Nov 2024 15:21:16 +0100 Subject: [PATCH] fix emulators --- .github/workflows/pre-release.yml | 6 +++--- systems.nix | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 05ec51a2..b4820cab 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -10,9 +10,9 @@ jobs: fail-fast: false matrix: include: - - system: aarch64-macos - target: aarch64-apple-darwin - os: macos-latest + # - system: aarch64-macos + # target: aarch64-apple-darwin + # os: macos-latest # - system: aarch64-linux # target: aarch64-unknown-linux-musl # os: ubuntu-latest diff --git a/systems.nix b/systems.nix index ae93ee0f..124b291a 100644 --- a/systems.nix +++ b/systems.nix @@ -21,11 +21,12 @@ i686-w64-mingw32 = { rustTarget = "i686-pc-windows-gnu"; - emulator = pkgs: "${pkgs.wine}/bin/wine"; + emulator = { lib, winePackages, ... }: lib.getExe' winePackages.minimal "wine"; }; x86_64-apple-darwin = { rustTarget = "x86_64-apple-darwin"; + emulator = _: ""; }; x86_64-unknown-linux-musl = {