about summary refs log tree commit diff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-10-22 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2023-10-22 04:20:00 +0000
commitc253e5eca749ae379206dae8ed391fe5cda260b6 (patch)
tree0a83f2b3c75be37a4823e76845ef5c4d6ea5a5f1 /pkgs/development/interpreters
parentd48146d75b5add726921cb1530ae9673f2576ec7 (diff)
downloadnixlib-c253e5eca749ae379206dae8ed391fe5cda260b6.tar
nixlib-c253e5eca749ae379206dae8ed391fe5cda260b6.tar.gz
nixlib-c253e5eca749ae379206dae8ed391fe5cda260b6.tar.bz2
nixlib-c253e5eca749ae379206dae8ed391fe5cda260b6.tar.lz
nixlib-c253e5eca749ae379206dae8ed391fe5cda260b6.tar.xz
nixlib-c253e5eca749ae379206dae8ed391fe5cda260b6.tar.zst
nixlib-c253e5eca749ae379206dae8ed391fe5cda260b6.zip
jruby: add updateScript
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r--pkgs/development/interpreters/jruby/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/jruby/default.nix b/pkgs/development/interpreters/jruby/default.nix
index 676c98e30910..a316a407d80d 100644
--- a/pkgs/development/interpreters/jruby/default.nix
+++ b/pkgs/development/interpreters/jruby/default.nix
@@ -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; {