Skip to content

Commit

Permalink
Merge pull request #62971 from lilyball/bundlerApp-passthru
Browse files Browse the repository at this point in the history
bundlerApp: Set up passthru properly
  • Loading branch information
matthewbauer authored Jun 16, 2019
2 parents d1f8e60 + 39eb49c commit 4d5c1c8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/development/ruby-modules/bundler-app/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ''
Expand Down

0 comments on commit 4d5c1c8

Please sign in to comment.