From 3c508c62c70de57b0c1302f9b3c23b1e5c30a66a Mon Sep 17 00:00:00 2001 From: oluceps Date: Sun, 22 Oct 2023 18:31:09 +0800 Subject: [PATCH] exodus: use fetchurl instead requireFile --- pkgs/applications/blockchains/exodus/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/exodus/default.nix b/pkgs/applications/blockchains/exodus/default.nix index 2d778a059f28..9311ba4c544c 100644 --- a/pkgs/applications/blockchains/exodus/default.nix +++ b/pkgs/applications/blockchains/exodus/default.nix @@ -1,6 +1,6 @@ { stdenv , lib -, requireFile +, fetchurl , unzip , glib , systemd @@ -29,9 +29,10 @@ stdenv.mkDerivation rec { pname = "exodus"; version = "23.9.25"; - src = requireFile { + src = fetchurl { name = "exodus-linux-x64-${version}.zip"; url = "https://downloads.exodus.com/releases/${pname}-linux-x64-${version}.zip"; + curlOptsList = [ "--user-agent" "Mozilla/5.0" ]; sha256 = "a3e314de257e1ec01baa1023886f327ade4b233d833f7fe79f6c3e0f26d07ced"; };