mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 00:09:46 +01:00
Modified the overlay to use binaries
This commit is contained in:
parent
b6e9bf04d0
commit
edff467449
@ -1,13 +1,25 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
vesktop = prev.vesktop.overrideAttrs (old: {
|
||||
env = (old.env or {}) // {
|
||||
ELECTRON_BUILDER_DISABLE_SIGNING = "true";
|
||||
vesktop = prev.vesktop.overrideAttrs (_: {
|
||||
dontBuild = 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" ];
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user