jruby: add updateScript

This commit is contained in:
Mario Rodas 2023-10-22 04:20:00 +00:00
parent d48146d75b
commit c253e5eca7

View File

@ -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; {