fix(nix/darwin): Extract vesktop's dmg using 7zz

This commit is contained in:
Ahmad Ansori Palembani 2024-11-05 09:08:40 +07:00
parent 5624c40c14
commit 96b6587e6c
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
3 changed files with 4 additions and 1 deletions

View file

@ -16,5 +16,6 @@ in {
pkgs.home-manager
pkgs.zoxide
pkgs.ruby
pkgs._7zz
];
}

View file

@ -12,6 +12,8 @@ in {
appFileName = "Vesktop*.app";
inherit version;
nativeBuildInputs = [ final._7zz ];
src = final.fetchurl {
url = "https://github.com/Vencord/Vesktop/releases/download/v${version}/Vesktop-${version}.dmg";
hash = "sha256-/u2G5v98+FAIfg7UMq5vUFmYO2Tj5ZiAaLrdqUdOMAo";

View file

@ -57,7 +57,7 @@ in {
pkgs.casks.zotero
# pkgs.casks.lulu # Doesn't work, it needs to be installed on /Applications/
# pkgs.heliport # FIXME: https://github.com/matthewbauer/undmg/issues/2
# pkgs.vesktop # FIXME: "only HFS file systems are supported."
pkgs.vesktop
pkgs.lf
pkgs.yazi # lf replacement, need further testing