diff options
| author | LLLL Colonq <llll@colonq> | 2026-06-09 18:06:05 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-06-09 18:06:05 -0400 |
| commit | 18d2f8acc71ca5ee4065555956f9c2913ca682c3 (patch) | |
| tree | ec812dbf45942734008d5ced2c2f20ab014e6983 /flake.nix | |
| parent | 91d9ada9d60c397e11fcce9c14d99561babc858f (diff) | |
Add ARM build
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -34,6 +34,18 @@ make CC=wasm32-clang prefix=$out install-core ''; }; + pit-arm = pkgs.pkgsCross.arm-embedded.stdenv.mkDerivation { + pname = "pit"; + version = "git"; + src = ./.; + hardeningDisable = ["all"]; + buildPhase = '' + make CC=arm-none-eabi-gcc AR=arm-none-eabi-ar libcolonq-pit.a + ''; + installPhase = '' + make CC=arm-none-eabi-gcc AR=arm-none-eabi-ar prefix=$out install-core + ''; + }; pit-windows = pkgs.pkgsCross.mingwW64.stdenv.mkDerivation { pname = "pit"; version = "git"; @@ -51,6 +63,7 @@ inherit pit; default = pit; wasm = pit-wasm; + arm = pit-arm; windows = pit-windows; }; devShells.default = pkgs.mkShell { |
