retroarch/cores.nix: use correct platform for darwin

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.
This commit is contained in:
Matthew Bauer 2020-03-31 15:07:57 -04:00
parent 38aa1cad7f
commit eb84499355

View file

@ -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=${{