Skip to content

Commit

Permalink
Merge pull request #265108 from getchoo/vesktop-arm
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin authored Nov 3, 2023
2 parents 891e7b4 + ac16e10 commit 4285a2a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/by-name/ve/vesktop/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ stdenv.mkDerivation rec {

dontFixup = true;
outputHashMode = "recursive";
outputHash = "sha256-KDJ8QmpwGb2lOdwWEl5y62pJiqEvpI59StfQZrN1PPE=";
outputHash = {
"aarch64-linux" = "sha256-Fkfq8vBfNXdndVb17aZOTvIOAyiccDzyuFvg6kDy7QI=";
"x86_64-linux" = "sha256-KDJ8QmpwGb2lOdwWEl5y62pJiqEvpI59StfQZrN1PPE=";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
};

nativeBuildInputs = [
Expand Down Expand Up @@ -105,7 +108,7 @@ stdenv.mkDerivation rec {
runHook preInstall
mkdir -p $out/opt/Vesktop/resources
cp dist/linux-unpacked/resources/app.asar $out/opt/Vesktop/resources
cp dist/linux-*unpacked/resources/app.asar $out/opt/Vesktop/resources
pushd build
${libicns}/bin/icns2png -x icon.icns
Expand Down Expand Up @@ -141,6 +144,5 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ getchoo Scrumplex vgskye ];
platforms = [ "x86_64-linux" "aarch64-linux" ];
mainProgram = "vencorddesktop";
broken = stdenv.hostPlatform.isAarch64;
};
}

0 comments on commit 4285a2a

Please sign in to comment.