buildRustPackage: allow passthru overrides

Don't ignore the passthru that could be passed to the derivation
This commit is contained in:
zimbatm 2017-10-26 17:43:17 +01:00
parent 74a2d53e0d
commit daf53c9a10

View File

@ -80,5 +80,5 @@ in stdenv.mkDerivation (args // {
runHook postInstall
'';
passthru = { inherit cargoDeps; };
passthru = { inherit cargoDeps; } // (args.passthru or {});
})