Skip to content

Commit 18720e9

Browse files
committed
Disable keymap-drawer on aarch64-linux
There's currently an upstream bug in py-tree-sitter, which keymap-drawer depends on. NixOS/nixpkgs#372375
1 parent 7760985 commit 18720e9

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/test-build-env.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
- uses: actions/checkout@v4
2727

2828
- uses: nixbuild/nix-quick-install-action@v29
29-
if: ${{ matrix.os != 'ubuntu-24.04-arm' }}
29+
if: ${{ matrix.system != 'aarch64-linux' }}
3030

3131
# https://github.com/nixbuild/nix-quick-install-action/issues/55
3232
- uses: cachix/install-nix-action@v30
33-
if: ${{ matrix.os == 'ubuntu-24.04-arm' }}
33+
if: ${{ matrix.system == 'aarch64-linux' }}
3434

3535
- name: Set up build environment
3636
run: |
@@ -43,3 +43,4 @@ jobs:
4343
- name: Test draw recipe
4444
run: |
4545
nix develop --command just draw
46+
if: ${{ matrix.system != 'aarch64-linux' }}

flake.nix

+5-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
in {
2525
default = pkgs.mkShellNoCC {
2626
packages = [
27-
keymap_drawer
28-
2927
zephyr.pythonEnv
3028
(zephyr.sdk-0_16.override { targets = [ "arm-zephyr-eabi" ]; })
3129

@@ -44,7 +42,11 @@
4442
# pkgs.findutils # find, xargs
4543
# pkgs.gnugrep # grep
4644
# pkgs.gnused # sed
47-
];
45+
46+
]
47+
# Temporary disable keymap_drawer on aarch64-linux due to:
48+
# https://github.com/NixOS/nixpkgs/issues/372375
49+
++ pkgs.lib.optionals (system != "aarch64-linux") [ keymap_drawer ];
4850

4951
shellHook = ''
5052
export ZMK_BUILD_DIR=$(pwd)/.build;

0 commit comments

Comments
 (0)