summary refs log tree commit diff
path: root/pkgs/development/ruby-modules/bundler-env/basic.nix
diff options
context:
space:
mode:
authorJudson <nyarly@gmail.com>2017-05-03 20:27:42 -0700
committerJudson <nyarly@gmail.com>2017-05-03 20:27:42 -0700
commit66fed6d28f70263f6a4105e6e8504742618932cb (patch)
tree8d8de9512cc89c211442cb25881afcebe3761eee /pkgs/development/ruby-modules/bundler-env/basic.nix
parent2b414e1c1553c1ff678d172f99da227670b8f68e (diff)
downloadnixpkgs-66fed6d28f70263f6a4105e6e8504742618932cb.tar
nixpkgs-66fed6d28f70263f6a4105e6e8504742618932cb.tar.gz
nixpkgs-66fed6d28f70263f6a4105e6e8504742618932cb.tar.bz2
nixpkgs-66fed6d28f70263f6a4105e6e8504742618932cb.tar.lz
nixpkgs-66fed6d28f70263f6a4105e6e8504742618932cb.tar.xz
nixpkgs-66fed6d28f70263f6a4105e6e8504742618932cb.tar.zst
nixpkgs-66fed6d28f70263f6a4105e6e8504742618932cb.zip
Basically working. Checking against actual use cases.
Diffstat (limited to 'pkgs/development/ruby-modules/bundler-env/basic.nix')
-rw-r--r--pkgs/development/ruby-modules/bundler-env/basic.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/ruby-modules/bundler-env/basic.nix b/pkgs/development/ruby-modules/bundler-env/basic.nix
index 7f96a8ce0e7..4557a7500f6 100644
--- a/pkgs/development/ruby-modules/bundler-env/basic.nix
+++ b/pkgs/development/ruby-modules/bundler-env/basic.nix
@@ -82,15 +82,15 @@ let
     paths = envPaths;
     pathsToLink = [ "/lib" ];
 
-    postBuild = genStubsScript defs // args // {
-      inherit confFiles bundler;
+    postBuild = genStubsScript (defs // args // {
+      inherit confFiles bundler groups;
       binPaths = envPaths;
-    } + lib.optionalString (postBuild != null) postBuild;
+    }) + lib.optionalString (postBuild != null) postBuild;
 
     meta = { platforms = ruby.meta.platforms; } // meta;
 
     passthru = rec {
-      inherit ruby bundler gems; # drvName;
+      inherit ruby bundler gems mainGem confFiles; # drvName;
 
       wrappedRuby = stdenv.mkDerivation {
         name = "wrapped-ruby-${pname}";