jruby: add updateScript
This commit is contained in:
parent
d48146d75b
commit
c253e5eca7
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, callPackage, fetchurl, mkRubyVersion, makeBinaryWrapper, jre }:
|
||||
{ lib, stdenv, callPackage, fetchurl, gitUpdater, mkRubyVersion, makeBinaryWrapper, jre }:
|
||||
|
||||
let
|
||||
# The version number here is whatever is reported by the RUBY_VERSION string
|
||||
@ -52,6 +52,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
devEnv = callPackage ../ruby/dev.nix {
|
||||
ruby = finalAttrs.finalPackage;
|
||||
};
|
||||
updateScript = gitUpdater {
|
||||
url = "https://github.com/jruby/jruby.git";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user