refactor(nix): Use nixpkgs' vesktop now that it supports darwin

This commit is contained in:
Ahmad Ansori Palembani 2024-11-07 09:03:35 +07:00
parent 94d596e386
commit b48174745d
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
7 changed files with 33 additions and 54 deletions

13
nix/overlays/vesktop.nix Normal file
View file

@ -0,0 +1,13 @@
final: prev:
{
# Replace the icon with a much more low profile icon
# REF: https://github.com/Vencord/Vesktop/pull/865
vesktop = prev.vesktop.overrideAttrs (old: {
preBuild =
old.preBuild
+ ''
cp -f ${../../include/vesktop/icon.icns} build/icon.icns
'';
});
}