Created
April 10, 2025 09:04
-
-
Save spikespaz/be234524900e3dc45bf99cd0e6b78e79 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Overrides to keep packages building after Rust 1.80.0. | |
# There is a regression with type inference that primarily affects | |
# the `time` crate, so for packages that use it, go back one version. | |
# <https://github.com/NixOS/nixpkgs/issues/332957> | |
pkgs: pkgs0: | |
let | |
rustVersion = "1.79.0"; | |
rustPlatform = pkgs.makeRustPlatform { | |
cargo = pkgs.rust-bin.stable.${rustVersion}.default; | |
rustc = pkgs.rust-bin.stable.${rustVersion}.default; | |
}; | |
in builtins.listToAttrs (map (name: { | |
inherit name; | |
value = pkgs0.${name}.override { inherit rustPlatform; }; | |
}) [ "deepfilternet" "rustdesk" "delta" "bandwhich" ]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment