Skip to content

Commit

Permalink
Use xz archives now that they're available.
Browse files Browse the repository at this point in the history
Fixes #77.
  • Loading branch information
dtzWill authored and nbp committed Apr 5, 2018
1 parent 5532292 commit 327eccf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rust-overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ let
pkg = pkgs.${pkgname};
srcInfo = pkg.target.${target};
in
(super.fetchurl { url = srcInfo.url; sha256 = srcInfo.hash; });
(super.fetchurl { url = srcInfo.xz_url; sha256 = srcInfo.xz_hash; });

checkMissingExtensions = pkgs: pkgname: stdenv: extensions:
let
Expand Down Expand Up @@ -127,6 +127,8 @@ let
# available = true;
# hash = "abce..."; # sha256
# url = "https://static.rust-lang.org/dist/....tar.gz";
# xz_hash = "abce..."; # sha256
# xz_url = "https://static.rust-lang.org/dist/....tar.xz";
# };
# }
#
Expand Down

0 comments on commit 327eccf

Please sign in to comment.