diff options
author | Lily Ballard <lily@sb.org> | 2019-06-10 14:13:04 -0700 |
---|---|---|
committer | Lily Ballard <lily@sb.org> | 2019-06-10 14:13:04 -0700 |
commit | 39eb49c9f0767de08b0a87e41993aa99c66826b6 (patch) | |
tree | 21c63177103adcabb040649ac3e5ee0a8d88b36b | |
parent | 6c7586228c70ce119cef4209ee288d0a3316086f (diff) | |
download | nixpkgs-39eb49c9f0767de08b0a87e41993aa99c66826b6.tar nixpkgs-39eb49c9f0767de08b0a87e41993aa99c66826b6.tar.gz nixpkgs-39eb49c9f0767de08b0a87e41993aa99c66826b6.tar.bz2 nixpkgs-39eb49c9f0767de08b0a87e41993aa99c66826b6.tar.lz nixpkgs-39eb49c9f0767de08b0a87e41993aa99c66826b6.tar.xz nixpkgs-39eb49c9f0767de08b0a87e41993aa99c66826b6.tar.zst nixpkgs-39eb49c9f0767de08b0a87e41993aa99c66826b6.zip |
bundlerApp: Set up passthru properly
The manual documents both bundlerEnv and bundlerApp as providing `env` and `wrappedRuby` attributes on the resulting derivations. However only bundlerEnv actually had these attributes. Update bundlerApp to provide the same passthru that bundlerEnv does.
-rw-r--r-- | pkgs/development/ruby-modules/bundler-app/default.nix | 7 |
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 '' |