Closed kha84 closed 2 years ago
Patches are definitely welcome, I don't have a aarch64 system to test.
Sure. I never built anything more complex than my Arduino projects, but I'm guessing it's time to start looking into that. For me it might take a while. A long while :)
Another option is remove aarch64-linux
in meta.platforms
only for this specific core (or alternatively, add aarch64-linux in
meta.badPlatforms). This is how the
retroarchFull` package is defined:
{
retroarchFull = retroarch.override {
cores = builtins.filter
# Remove cores not supported on platform
(c: c ? libretroCore && (lib.meta.availableOn stdenv.hostPlatform c))
(builtins.attrValues libretro);
};
}
So retroarchFull
should be composed only for the platforms that are supported in that arch.
However, of course, fixing compilation if possible is a better solution.
Should have been fixed in #193939 since I made libretro.blastem
x86 only.
Describe the bug
Cannot install nixpkgs.retroarchFull via nix-env to Debian 11 Bullseye aarch64
Steps To Reproduce
Steps to reproduce the behavior:
Errors during installation
Additional context
As I can see it from logs, during the installation process an attempt to build some libretro core (libretro-blastem-unstable-2022-04-21.drv?) is happening, but I'm guessing the aarch64 platform (the one I'm running on) was not properly recognized during configuration, as I see -DX86_64 defines there and '-m64' flag doesn't seem to be recognized by aarch64 gcc
It also looks like this package was never successfully built yet - https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.retroarchFull.aarch64-linux/latest
Notify maintainers
@MP2E @edwtjo @matthewbauer @kolbycrouch @thiagokokada
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result: