From aee59c734ea5d99cd2c7b5b17f137ea35b35d941 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 23 Dec 2022 12:13:28 +0100 Subject: [PATCH] wire-desktop: use hash instead of sha256 With everything being SRI hashes, we can use `hash` now. --- .../networking/instant-messengers/wire-desktop/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix b/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix index 23cc0ca624b3..c579a0f34567 100644 --- a/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix @@ -27,7 +27,7 @@ let x86_64-linux = "3.30.3018"; }.${system} or throwSystem; - sha256 = { + hash = { x86_64-darwin = "sha256-TQEzZ7jWdhS0ehAjGJCBD3bTwrp77rajsmnZZ/T752s="; x86_64-linux = "sha256-46WjFA+E9M7RfTOM/Xoho+9ooToSgQiZaMlcZ3lJvBQ="; }.${system} or throwSystem; @@ -66,7 +66,7 @@ let src = fetchurl { url = "https://wire-app.wire.com/linux/debian/pool/main/" + "Wire-${version}_amd64.deb"; - inherit sha256; + inherit hash; }; desktopItem = makeDesktopItem { @@ -134,7 +134,7 @@ let src = fetchurl { url = "https://github.com/wireapp/wire-desktop/releases/download/" + "macos%2F${version}/Wire.pkg"; - inherit sha256; + inherit hash; }; buildInputs = [