8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
23 lines
502 B
Nix
23 lines
502 B
Nix
/* An environment for development that bundles ruby, bundler and bundix
|
|
together. This avoids version conflicts where each is using a diferent
|
|
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;
|
|
}
|