mozilla / nixpkgs-mozilla

Mozilla overlay for Nixpkgs.
MIT License
517 stars 128 forks source link

rust-overlay: Allow running ancient pre-xz versions #249

Closed andersk closed 3 years ago

andersk commented 3 years ago

Before:

$ nix-shell -p '(rustChannelOf { date = "2017-02-02"; }).rustc' --run 'rustc --version'
error: attribute 'xz_url' missing, at /home/anders/nix/nixpkgs-mozilla/rust-overlay.nix:100:31
(use '--show-trace' to show detailed location information)

After:

$ nix-shell -p '(rustChannelOf { date = "2017-02-02"; }).rustc' --run 'rustc --version'
rustc 1.16.0-nightly (24055d0f2 2017-01-31)