docs: update stale workaround comments

- wechat.nix: repacking is needed because nixpkgs' wechat package does not expose its AppImage wrapper args for `.override`, not because wrapAppImage lacks overriding (it forwards args to buildFHSEnv).
- peripherals.nix: drop a link to an already-closed issue and fix a typo.
This commit is contained in:
Ryan Yin committed 2026-10-03 00:14:00 +08:00
1 parent 6e33a28609
commit d27818e948
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -4,7 +4,9 @@
# - https://docs.flatpak.org/en/latest/manifests.html
# - https://docs.flatpak.org/en/latest/sandbox-permissions.html
#
# TODO Since appimageTools.wrapAppImage do not support overriding, I have to pack this package myself.
# TODO nixpkgs' `wechat` package hardcodes its AppImage wrapper args and does not
# expose them for `.override`, so we repack it here to add our bubblewrap sandbox
# (bind mounts, tmpfs /home, IME env). Upstream override support:
# https://github.com/NixOS/nixpkgs/pull/358977
{
appimageTools,
+1 -1
View File
@@ -53,7 +53,7 @@
udev.packages = with pkgs; [
gnome-settings-daemon
# platformio # udev rules for platformio
# openocd # required by paltformio, see https://github.com/NixOS/nixpkgs/issues/224895
# openocd # platformio needs these udev rules for rootless USB access
# openfpgaloader
];