diff options
| author | Mel <mel@rnrd.eu> | 2026-09-03 05:00:42 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2026-09-03 05:00:42 +0200 |
| commit | 3af28453019a98b26f5c08ed49a6df633b36addb (patch) | |
| tree | af322261d917c88229c47aa5532ec11e0200ea2e /default.nix | |
| parent | 2e6e51fe4a9d7160efdcfc6c9e0df601d0544fb8 (diff) | |
| download | meowcraft-3af28453019a98b26f5c08ed49a6df633b36addb.tar.zst meowcraft-3af28453019a98b26f5c08ed49a6df633b36addb.zip | |
Add support for AArch64 Linux
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/default.nix b/default.nix index e2e14cd..a019566 100644 --- a/default.nix +++ b/default.nix @@ -1,4 +1,4 @@ -{ lib, clangStdenv, meson, ninja, pkg-config, lld, glew, glfw, Cocoa, OpenGL, wayland, wayland-protocols, libffi }: +{ lib, clangStdenv, meson, ninja, pkg-config, lld, glew, glfw, wayland, wayland-protocols, libffi }: let stdenv = clangStdenv; @@ -10,8 +10,8 @@ stdenv.mkDerivation { src = ./.; nativeBuildInputs = [ meson ninja pkg-config lld ]; + # darwin provides the apple sdk dependencies by default buildInputs = [ glew glfw ] - ++ lib.optionals stdenv.isDarwin [ Cocoa OpenGL ] ++ lib.optionals stdenv.isLinux [ wayland wayland-protocols libffi ]; mesonFlags = [ @@ -26,7 +26,7 @@ stdenv.mkDerivation { description = "a dumb minecraft in c++ and opengl."; homepage = "https://git.rnrd.eu/meowcraft"; license = licenses.free; # TODO: Choose a specific license. - platforms = [ "x86_64-linux" "x86_64-darwin" ]; + platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ]; mainProgram = "meowcraft"; }; -}
\ No newline at end of file +} |
