From daf53c9a102e695d9ca0c2b48b231e8f2517264b Mon Sep 17 00:00:00 2001 From: zimbatm Date: Thu, 26 Oct 2017 17:43:17 +0100 Subject: [PATCH] buildRustPackage: allow passthru overrides Don't ignore the passthru that could be passed to the derivation --- pkgs/build-support/rust/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/rust/default.nix b/pkgs/build-support/rust/default.nix index 2b32da11d1c..37ea264a53f 100644 --- a/pkgs/build-support/rust/default.nix +++ b/pkgs/build-support/rust/default.nix @@ -80,5 +80,5 @@ in stdenv.mkDerivation (args // { runHook postInstall ''; - passthru = { inherit cargoDeps; }; + passthru = { inherit cargoDeps; } // (args.passthru or {}); })