File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
pkgs/by-name/pi/pixelorama Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1919} :
2020
2121let
22+ presets = {
23+ "i686-linux" = "Linux 32-bit" ;
24+ "x86_64-linux" = "Linux 64-bit" ;
25+ "aarch64-linux" = "Linux ARM64" ;
26+ } ;
2227 preset =
23- if stdenv . isLinux then
24- if stdenv . is64bit then "Linux 64-bit" else "Linux 32-bit"
25- else if stdenv . isDarwin then
26- "macOS"
27- else
28- throw "unsupported platform" ;
28+ presets . ${ stdenv . hostPlatform . system }
29+ or ( throw "Unsupported system: ${ stdenv . hostPlatform . system } " ) ;
2930
3031 godot_version_folder = lib . replaceStrings [ "-" ] [ "." ] godot_4 . version ;
3132in
@@ -95,6 +96,7 @@ stdenv.mkDerivation (finalAttrs: {
9596 platforms = [
9697 "i686-linux"
9798 "x86_64-linux"
99+ "aarch64-linux"
98100 ] ;
99101 maintainers = with maintainers ; [ felschr ] ;
100102 mainProgram = "pixelorama" ;
You can’t perform that action at this time.
0 commit comments