mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-18 22:08:16 +01:00
Reuse the already-extracted, libtiff-patched AppImage from the nixpkgs wechat package (`wechat.src`) instead of keeping our own CDN URLs and hashes, which had to be refreshed whenever Tencent replaced the versionless files. Take the package from nixpkgs-master, which carries the newest builds.
12 lines
263 B
Nix
12 lines
263 B
Nix
{ pkgs-master, ... }:
|
|
{
|
|
nixpkgs.overlays = [
|
|
(_: super: {
|
|
bwraps = {
|
|
# Track WeChat from nixpkgs-master, which carries the newest builds.
|
|
wechat = super.callPackage ./wechat.nix { wechat = pkgs-master.wechat; };
|
|
};
|
|
})
|
|
];
|
|
}
|