summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-06-16 15:03:10 -0400
committerGitHub <noreply@github.com>2019-06-16 15:03:10 -0400
commit4d5c1c81369323f2d799702f3bb2d3bd5d121a61 (patch)
treef1ee30bdb24d57ef3f9fb80bf7b9c5524ad7eaad
parentd1f8e6037107e91adbec26e9ebecd501cfe7c625 (diff)
parent39eb49c9f0767de08b0a87e41993aa99c66826b6 (diff)
downloadnixpkgs-4d5c1c81369323f2d799702f3bb2d3bd5d121a61.tar
nixpkgs-4d5c1c81369323f2d799702f3bb2d3bd5d121a61.tar.gz
nixpkgs-4d5c1c81369323f2d799702f3bb2d3bd5d121a61.tar.bz2
nixpkgs-4d5c1c81369323f2d799702f3bb2d3bd5d121a61.tar.lz
nixpkgs-4d5c1c81369323f2d799702f3bb2d3bd5d121a61.tar.xz
nixpkgs-4d5c1c81369323f2d799702f3bb2d3bd5d121a61.tar.zst
nixpkgs-4d5c1c81369323f2d799702f3bb2d3bd5d121a61.zip
Merge pull request #62971 from lilyball/bundlerApp-passthru
bundlerApp: Set up passthru properly
-rw-r--r--pkgs/development/ruby-modules/bundler-app/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/ruby-modules/bundler-app/default.nix b/pkgs/development/ruby-modules/bundler-app/default.nix
index d1b8e87aaeb..f8843c61582 100644
--- a/pkgs/development/ruby-modules/bundler-app/default.nix
+++ b/pkgs/development/ruby-modules/bundler-app/default.nix
@@ -36,10 +36,15 @@
 let
   basicEnv = (callPackage ../bundled-common {}) args;
 
-  cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" ] // {
+  cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" "passthru" ] // {
     inherit preferLocalBuild allowSubstitutes; # pass the defaults
 
     buildInputs = buildInputs ++ lib.optional (scripts != []) makeWrapper;
+
+    passthru = basicEnv.passthru // {
+      inherit basicEnv;
+      inherit (basicEnv) env;
+    } // passthru;
   };
 in
   runCommand basicEnv.name cmdArgs ''