summary refs log tree commit diff
path: root/pkgs/development/ruby-modules/bundled-common
diff options
context:
space:
mode:
authorJudson Lester <nyarly@users.noreply.github.com>2018-11-25 04:38:39 -0800
committerzimbatm <zimbatm@zimbatm.com>2018-11-25 13:38:38 +0100
commit2d5bd339da2ef131cc43f2e16bd3c1f73a4ffd85 (patch)
treebe3e7511d793f0281d9e64eb0fc1f63d7916e176 /pkgs/development/ruby-modules/bundled-common
parent6c74e752280330afcdfbf400dc98c551d77bae50 (diff)
downloadnixpkgs-2d5bd339da2ef131cc43f2e16bd3c1f73a4ffd85.tar
nixpkgs-2d5bd339da2ef131cc43f2e16bd3c1f73a4ffd85.tar.gz
nixpkgs-2d5bd339da2ef131cc43f2e16bd3c1f73a4ffd85.tar.bz2
nixpkgs-2d5bd339da2ef131cc43f2e16bd3c1f73a4ffd85.tar.lz
nixpkgs-2d5bd339da2ef131cc43f2e16bd3c1f73a4ffd85.tar.xz
nixpkgs-2d5bd339da2ef131cc43f2e16bd3c1f73a4ffd85.tar.zst
nixpkgs-2d5bd339da2ef131cc43f2e16bd3c1f73a4ffd85.zip
Bugfix: gemsets didn't handle paths correctly (#51002)
Diffstat (limited to 'pkgs/development/ruby-modules/bundled-common')
-rw-r--r--pkgs/development/ruby-modules/bundled-common/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ruby-modules/bundled-common/default.nix b/pkgs/development/ruby-modules/bundled-common/default.nix
index 415457b86e1..1b64456fb20 100644
--- a/pkgs/development/ruby-modules/bundled-common/default.nix
+++ b/pkgs/development/ruby-modules/bundled-common/default.nix
@@ -89,7 +89,7 @@ let
       gemAttrs = composeGemAttrs ruby gems name attrs;
     in
     if gemAttrs.type == "path" then
-      pathDerivation gemAttrs
+      pathDerivation (gemAttrs.source // gemAttrs)
     else
       buildRubyGem gemAttrs
   );