add ruby fix overlay

This commit is contained in:
Henry Hiles 2025-08-17 12:49:47 -04:00
commit 33ebe8b54d
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -0,0 +1,11 @@
{
nixpkgs.overlays = [
(_: super: {
ruby_3_3 = super.ruby_3_3.overrideAttrs (old: {
NIX_RUSTFLAGS =
(old.NIX_RUSTFLAGS or "")
+ " --target ${super.stdenv.hostPlatform.rust.rustcTargetSpec}";
});
})
];
}