From 33ebe8b54db7d44ede4e20c0e8a8ae3b1b835d86 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sun, 17 Aug 2025 12:49:47 -0400 Subject: [PATCH] add ruby fix overlay --- clients/quadphone/ruby.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 clients/quadphone/ruby.nix diff --git a/clients/quadphone/ruby.nix b/clients/quadphone/ruby.nix new file mode 100644 index 0000000..95a4915 --- /dev/null +++ b/clients/quadphone/ruby.nix @@ -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}"; + }); + }) + ]; +}