diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/grfn/keyboard/default.nix | 10 | ||||
-rw-r--r-- | users/grfn/system/home/platforms/linux.nix | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/users/grfn/keyboard/default.nix b/users/grfn/keyboard/default.nix index 39b21b876692..929ec7d6289e 100644 --- a/users/grfn/keyboard/default.nix +++ b/users/grfn/keyboard/default.nix @@ -32,6 +32,16 @@ rec { AVR_CFLAGS = [ "-isystem ${avrlibc}/avr/include" "-L${avrlibc}/avr/lib/avr5" + # GCC 12 has improved array-bounds warnings, failing the build of QMK. + # Newer versions of the firmware would work probably, but they heavily + # altered the build system, so it is non-trivial. Backporting the patch + # that fixes it seems difficult – the next change to the offending matrix.c + # after the pinned qmkSource commit is + # https://github.com/qmk/qmk_firmware/commit/11c308d436180974b7719ce78cdffdd83a1302c0 + # which heavily changes the way the code works. + # + # TODO(grfn): address this properly + "-Wno-error=array-bounds" ]; AVR_ASFLAGS = AVR_CFLAGS; diff --git a/users/grfn/system/home/platforms/linux.nix b/users/grfn/system/home/platforms/linux.nix index f677a631e6a8..5429f3e094b3 100644 --- a/users/grfn/system/home/platforms/linux.nix +++ b/users/grfn/system/home/platforms/linux.nix @@ -57,7 +57,8 @@ in keybase openssl yubikey-manager - yubikey-manager-qt + # TODO(grfn): lagging behind yubikey-manager and doesn't support cryptography >= 39 + # yubikey-manager-qt # Spotify...etc spotify |