Modified the overlay to use binaries

This commit is contained in:
Alexandre1a 2026-01-31 19:37:01 +01:00
parent b6e9bf04d0
commit edff467449
No known key found for this signature in database
GPG Key ID: CE01C28FBC5EEF10

View File

@ -1,13 +1,25 @@
{ config, pkgs, ... }: { lib, pkgs, ... }:
{ {
nixpkgs.overlays = [ nixpkgs.overlays = [
(final: prev: { (final: prev: {
vesktop = prev.vesktop.overrideAttrs (old: { vesktop = prev.vesktop.overrideAttrs (_: {
env = (old.env or {}) // { dontBuild = true;
ELECTRON_BUILDER_DISABLE_SIGNING = "true"; dontConfigure = true;
src = pkgs.fetchzip {
url = "https://github.com/Vencord/Vesktop/releases/download/v1.6.4/Vesktop-1.6.4-universal-mac.zip";
sha256 = "a78d0abcecfb1c615b7bd3ebe0428b4ae9f8a6f6ffa6dd288bb42f69a440dfa";
}; };
installPhase = ''
mkdir -p $out/Applications
cp -R Vesktop.app $out/Applications/
'';
meta.platforms = [ "aarch64-darwin" ];
}); });
}) })
]; ];
} }