about summary refs log tree commit diff
path: root/pkgs/build-support/rust
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2017-10-26 17:43:17 +0100
committerzimbatm <zimbatm@zimbatm.com>2017-10-26 17:44:52 +0100
commitdaf53c9a102e695d9ca0c2b48b231e8f2517264b (patch)
tree58c38bef39ce0493d0b8cba5ebd949bb21896ffd /pkgs/build-support/rust
parent74a2d53e0d2ae9a5b574a07483dc8aa790a8340e (diff)
downloadnixlib-daf53c9a102e695d9ca0c2b48b231e8f2517264b.tar
nixlib-daf53c9a102e695d9ca0c2b48b231e8f2517264b.tar.gz
nixlib-daf53c9a102e695d9ca0c2b48b231e8f2517264b.tar.bz2
nixlib-daf53c9a102e695d9ca0c2b48b231e8f2517264b.tar.lz
nixlib-daf53c9a102e695d9ca0c2b48b231e8f2517264b.tar.xz
nixlib-daf53c9a102e695d9ca0c2b48b231e8f2517264b.tar.zst
nixlib-daf53c9a102e695d9ca0c2b48b231e8f2517264b.zip
buildRustPackage: allow passthru overrides
Don't ignore the passthru that could be passed to the derivation
Diffstat (limited to 'pkgs/build-support/rust')
-rw-r--r--pkgs/build-support/rust/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/rust/default.nix b/pkgs/build-support/rust/default.nix
index 2b32da11d1ce..37ea264a53fb 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 {});
 })