9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
23 lines
503 B
Nix
23 lines
503 B
Nix
/* An environment for development that bundles ruby, bundler and bundix
|
|
together. This avoids version conflicts where each is using a different
|
|
version of each-other.
|
|
*/
|
|
{ buildEnv, ruby, bundler, bundix }:
|
|
let
|
|
bundler_ = bundler.override {
|
|
ruby = ruby;
|
|
};
|
|
bundix_ = bundix.override {
|
|
bundler = bundler_;
|
|
};
|
|
in
|
|
buildEnv {
|
|
name = "${ruby.rubyEngine}-dev-${ruby.version}";
|
|
paths = [
|
|
bundix_
|
|
bundler_
|
|
ruby
|
|
];
|
|
pathsToLink = [ "/bin" ];
|
|
ignoreCollisions = true;
|
|
}
|