From eb8449935594a0e8a0a224cdd2c44ba1c3e7f3a2 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Tue, 31 Mar 2020 15:07:57 -0400 Subject: [PATCH] retroarch/cores.nix: use correct platform for darwin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should fix the regression found in https://hydra.nixos.org/eval/1577308#tabs-now-fail. The libretro scripts use “osx” as the identifier for macOS, and “unix” seems to mean linux. If anyone could help out by confirming this works. I don’t currently have access to a macOS machine. --- pkgs/misc/emulators/retroarch/cores.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/misc/emulators/retroarch/cores.nix b/pkgs/misc/emulators/retroarch/cores.nix index b1d01e12b62..3b935bb2b44 100644 --- a/pkgs/misc/emulators/retroarch/cores.nix +++ b/pkgs/misc/emulators/retroarch/cores.nix @@ -22,7 +22,7 @@ let makeFlags = [ "platform=${{ linux = "unix"; - darwin = "unix"; + darwin = "osx"; windows = "win"; }.${stdenv.hostPlatform.parsed.kernel.name} or stdenv.hostPlatform.parsed.kernel.name}" "ARCH=${{