diff options
| author | Janne Heß <dasJ@users.noreply.github.com> | 2026-01-19 22:08:06 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-19 22:08:06 +0000 |
| commit | f60c306a87e6d7efe00768962dd1b39543cf8c1a (patch) | |
| tree | 52d0f84b9e11ead0d57cd0ff97c8ab41a8722ae7 /pkgs/development/ruby-modules | |
| parent | python3Packages.pydal: 20260110.1 -> 20260118.1 (#481488) (diff) | |
| parent | doc: add dawarich to 26.05 release notes (diff) | |
| download | nixpkgs-f60c306a87e6d7efe00768962dd1b39543cf8c1a.tar.gz | |
dawarich: init at 0.37.3, nixos/dawarich: init (#423867)
Diffstat (limited to 'pkgs/development/ruby-modules')
| -rw-r--r-- | pkgs/development/ruby-modules/gem-config/default.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix index 410482616aea..78885df50405 100644 --- a/pkgs/development/ruby-modules/gem-config/default.nix +++ b/pkgs/development/ruby-modules/gem-config/default.nix @@ -90,6 +90,7 @@ fribidi, harfbuzz, bison, + h3_3, flex, pango, python3, @@ -638,6 +639,21 @@ in ''; }; + h3 = attrs: { + # This gem attempts to build h3 using cmake, but fails because that is not in the path + # Use h3 from nixpkgs instead, and reduce closure size by deleting the h3 source code + dontBuild = false; # allow applying patches + postPatch = '' + substituteInPlace ext/h3/Makefile \ + --replace-fail 'cd src; cmake . -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DBUILD_SHARED_LIBS=true -DBUILD_FILTERS=OFF -DBUILD_BENCHMARKS=OFF -DENABLE_LINTING=OFF; make' ':' + substituteInPlace lib/h3/bindings/base.rb \ + --replace-fail '__dir__ + "/../../../ext/h3/src/lib"' '"${h3_3}/lib"' + ''; + postInstall = '' + rm -rf $out/${ruby.gemPath}/gems/h3-${attrs.version}/ext/h3/src + ''; + }; + hiredis-client = attrs: { buildInputs = [ openssl |
