rustPackages.buildRustPackages: allow one level of introspection before applying __attrsFailEvaluation
This commit is contained in:
parent
b1afdbff75
commit
4122d072e5
@ -65,7 +65,10 @@ in
|
||||
bootRustPlatform = makeRustPlatform bootstrapRustPackages;
|
||||
in {
|
||||
# Packages suitable for build-time, e.g. `build.rs`-type stuff.
|
||||
buildRustPackages = (selectRustPackage pkgsBuildHost).packages.stable // { __attrsFailEvaluation = true; };
|
||||
buildRustPackages = (selectRustPackage pkgsBuildHost).packages.stable // {
|
||||
# Prevent `pkgs/top-level/release-attrpaths-superset.nix` from recursing more than one level here.
|
||||
buildRustPackages = self.buildRustPackages // { __attrsFailEvaluation = true; };
|
||||
};
|
||||
# Analogous to stdenv
|
||||
rustPlatform = makeRustPlatform self.buildRustPackages;
|
||||
rustc-unwrapped = self.callPackage ./rustc.nix ({
|
||||
|
Loading…
Reference in New Issue
Block a user