buildRustPackage: allow passthru overrides
Don't ignore the passthru that could be passed to the derivation
commitdaf53c9a102e695d9ca0c2b48b231e8f2517264b
authorzimbatm <zimbatm@zimbatm.com>
dateThu 26 Oct 2017, 17:43 (9 years ago)
parent74a2d53
pkgs/build-support/rust/default.nix+1−1
@@ -80,5 +80,5 @@ in stdenv.mkDerivation (args // {
8080 runHook postInstall
8181 '';
8282
83− passthru = { inherit cargoDeps; };
83+ passthru = { inherit cargoDeps; } // (args.passthru or {});
8484})