diff options
author | oxalica <oxalicc@pm.me> | 2023-03-02 07:29:28 +0800 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2023-03-02 10:20:15 +1000 |
commit | de408167ede9c2cab0a7831f4079ff9ba8c644d8 (patch) | |
tree | cfd2cd0b096a8df9afc3a92c1b4bb551faac956e /pkgs/build-support | |
parent | 21eaf070b2d4c7331a6f5f48f71143c0239bc3d3 (diff) |
buildRustPackage: don't passthru `cargoDeps`
`cargoDeps` is already passed as `mkDerivation` arguments, and should not be `passthru`ed again. This fixes the mismatch of `drv.cargoDeps` and the actual dependency when the original derivation is overriden.
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/rust/build-rust-package/default.nix | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/build-support/rust/build-rust-package/default.nix b/pkgs/build-support/rust/build-rust-package/default.nix index b057d1681b03b..5ba166bae1a39 100644 --- a/pkgs/build-support/rust/build-rust-package/default.nix +++ b/pkgs/build-support/rust/build-rust-package/default.nix @@ -154,8 +154,6 @@ stdenv.mkDerivation ((removeAttrs args [ "depsExtraArgs" "cargoUpdateHook" "carg strictDeps = true; - passthru = { inherit cargoDeps; } // (args.passthru or {}); - meta = { # default to Rust's platforms platforms = rustc.meta.platforms; |