Skip to content

Instantly share code, notes, and snippets.

@jdelStrother
Created March 10, 2021 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdelStrother/c0b2eea2aa9db95d0f44c51a31041fa5 to your computer and use it in GitHub Desktop.
Save jdelStrother/c0b2eea2aa9db95d0f44c51a31041fa5 to your computer and use it in GitHub Desktop.
diff --git a/pkgs/development/ruby-modules/bundler-env/default.nix b/pkgs/development/ruby-modules/bundler-env/default.nix
index d412d10102f..fc81d00bc5a 100644
--- a/pkgs/development/ruby-modules/bundler-env/default.nix
+++ b/pkgs/development/ruby-modules/bundler-env/default.nix
@@ -10,6 +10,7 @@
, gemset ? null
, groups ? ["default"]
, ruby ? defs.ruby
+, bundler ? defs.bundler
, copyGemFiles ? false # Copy gem files instead of symlinking
, gemConfig ? defaultGemConfig
, postBuild ? null
@@ -23,7 +24,7 @@
let
inherit (import ../bundled-common/functions.nix {inherit lib ruby gemConfig groups; }) genStubsScript;
- basicEnv = (callPackage ../bundled-common {}) (args // { inherit pname name; mainGemName = pname; });
+ basicEnv = (callPackage ../bundled-common { inherit bundler; }) (args // { inherit pname name; mainGemName = pname; });
inherit (basicEnv) envPaths;
# Idea here is a mkDerivation that gen-bin-stubs new stubs "as specified" -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment