feat(wechat): native nixpkgs package with app-scoped data (#492)

Switch to the native deb package from nixpkgs-patched (#560225), remove the AppImage/FHS bwrap layer, and enable native Wayland while keeping the X11 fallback.

Keep only WeChat state under one app-scoped HOME and bind the host Documents and Downloads directories like the other desktop apps. User-selected files also go through the XDG FileChooser portal. Remove the launcher, activation script, and compatibility symlinks.

Assisted-by: DeepSeek Harness (deepseek-flash)
This commit is contained in:
ryan4yin | 二花 authored and GitHub committed 2026-11-01 00:09:27 +08:00
1 parent 30cb22500f
commit ccffddc864
14 files changed
+49 -220

No files matched your search

+3 -3
View File
@@ -28,9 +28,9 @@
};
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-26.05";
# ryan4yin/nixpkgs fork for the `.agents/skills/nixpkgs-patched` workflow. It
# currently carries no patches (see WORKAROUNDS.md), but `pkgs-patched` is
# wired in outputs/default.nix so a temporary carry needs no flake edit.
# ryan4yin/nixpkgs fork for the `.agents/skills/nixpkgs-patched` workflow.
# Carries NixOS/nixpkgs#560225 (WeChat native deb + Wayland support) until
# the PR merges; see WORKAROUNDS.md.
nixpkgs-patched.url = "github:ryan4yin/nixpkgs/nixos-unstable-patched";
# get some latest packages from the master branch
nixpkgs-master.url = "github:nixos/nixpkgs/master";