diff options
author | figsoda <figsoda@pm.me> | 2022-09-26 21:53:37 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2022-09-26 21:53:37 -0400 |
commit | dc19b95eff6b56f8dfc4abd75e035d27dd0c1f40 (patch) | |
tree | 6697afc16d22236037ed759d8fda047380012826 | |
parent | e42908eeaf0cfc2700995a21fc7a08142298a784 (diff) |
rustPlatform.buildRustPackage: remove unused function
-rw-r--r-- | pkgs/build-support/rust/build-rust-package/default.nix | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkgs/build-support/rust/build-rust-package/default.nix b/pkgs/build-support/rust/build-rust-package/default.nix index db0d2c53bb1e8..84700ff29af09 100644 --- a/pkgs/build-support/rust/build-rust-package/default.nix +++ b/pkgs/build-support/rust/build-rust-package/default.nix @@ -72,10 +72,6 @@ let sha256 = args.cargoSha256; } // depsExtraArgs); - # If we have a cargoSha256 fixed-output derivation, validate it at build time - # against the src fixed-output derivation to check consistency. - validateCargoDeps = args ? cargoHash || args ? cargoSha256; - target = rust.toRustTargetSpec stdenv.hostPlatform; targetIsJSON = lib.hasSuffix ".json" target; useSysroot = targetIsJSON && !__internal_dontAddSysroot; |