diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-10-23 01:57:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 01:57:31 +0200 |
commit | 840bfc404d1bfa7edb3b5a914ffe972bbc249984 (patch) | |
tree | b5ec5c2dbe831dd6c3076ded47383ac695212779 /pkgs/applications/blockchains | |
parent | 0504bc63e41f89d69fb5ff8e9812e8731a869106 (diff) | |
parent | 3c508c62c70de57b0c1302f9b3c23b1e5c30a66a (diff) |
Merge pull request #262712 from oluceps/exodus-fetch
exodus: use fetchurl instead requireFile
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r-- | pkgs/applications/blockchains/exodus/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/blockchains/exodus/default.nix b/pkgs/applications/blockchains/exodus/default.nix index 2d778a059f28c..9311ba4c544c5 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"; }; |