about summary refs log tree commit diff
path: root/pkgs/development/ruby-modules/bundix
diff options
context:
space:
mode:
authorKirill Radzikhovskyy <kirillrdy@gmail.com>2023-04-01 19:03:45 +1100
committerKirill Radzikhovskyy <kirillrdy@gmail.com>2023-04-01 19:08:53 +1100
commitf8744b3f80ffe69f300cc675e09595185cec46ed (patch)
tree3c9badba6cc1aa375cec99b534ef6527279c40a6 /pkgs/development/ruby-modules/bundix
parentf97fdd6e51cc85c290258b075295883da81c3f30 (diff)
bundix: fixup ruby_3_0 support
Diffstat (limited to 'pkgs/development/ruby-modules/bundix')
-rw-r--r--pkgs/development/ruby-modules/bundix/default.nix19
1 files changed, 17 insertions, 2 deletions
diff --git a/pkgs/development/ruby-modules/bundix/default.nix b/pkgs/development/ruby-modules/bundix/default.nix
index d4cfe217b83fd..94c47f4e566d3 100644
--- a/pkgs/development/ruby-modules/bundix/default.nix
+++ b/pkgs/development/ruby-modules/bundix/default.nix
@@ -1,5 +1,12 @@
-{ buildRubyGem, fetchFromGitHub, makeWrapper, lib, bundler, nix,
-  nix-prefetch-git }:
+{ buildRubyGem
+, fetchFromGitHub
+, fetchpatch
+, makeWrapper
+, lib
+, bundler
+, nix
+, nix-prefetch-git
+}:
 
 buildRubyGem rec {
   inherit (bundler) ruby;
@@ -15,6 +22,14 @@ buildRubyGem rec {
     sha256 = "sha256-iMp6Yj7TSWDqge3Lw855/igOWdTIuFH1LGeIN/cpq7U=";
   };
 
+  patches = [
+    # https://github.com/nix-community/bundix/pull/80
+    (fetchpatch {
+      url = "https://github.com/nix-community/bundix/commit/3d7820efdd77281234182a9b813c2895ef49ae1f.patch";
+      hash = "sha256-ShluCWfRQxR+vkXqa7Fh7+WHKf6vAsa9/DVeXjpAXLk=";
+    })
+  ];
+
   buildInputs = [ ruby bundler ];
   nativeBuildInputs = [ makeWrapper ];