Created
March 10, 2021 10:19
-
-
Save jdelStrother/c0b2eea2aa9db95d0f44c51a31041fa5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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