We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59a6cd4 commit e592d72Copy full SHA for e592d72
flake.nix
@@ -38,6 +38,21 @@
38
cbor-diag = final.callPackage ./pkgs/cbor-diag { };
39
cddl = final.callPackage ./pkgs/cddl { };
40
});
41
+
42
+ tools = (final: prev: {
43
+ ruby = prev.ruby.overrideAttrs (old: {
44
+ # Fix the following error on musl64 Ruby:
45
+ #
46
+ # error: output '/nix/store/6hyyk9wnnxpd5rsr6ivc0s8l1lgvsjrb-ruby-x86_64-unknown-linux-musl-3.3.4'
47
+ # is not allowed to refer to the following paths:
48
+ # /nix/store/c77wdd4fb0llq37bpmfr73m7s7r1j068-ruby-3.3.4
49
50
+ # See https://github.com/NixOS/nixpkgs/issues/347758
51
+ postInstall = old.postInstall + ''
52
+ find $out/${old.passthru.gemPath} -name exts.mk -delete
53
+ '';
54
+ });
55
56
};
57
supportedSystems = [
58
"x86_64-linux"
0 commit comments