diff --git a/home/programs/default.nix b/home/programs/default.nix index 9f3e004..36b9e92 100644 --- a/home/programs/default.nix +++ b/home/programs/default.nix @@ -94,7 +94,7 @@ ./nixify.nix ./omnix.nix ./opencode.nix - ./pi.dev.nix + # ./pi.dev.nix ./rustup.nix ] ++ lib.optionals (device.isDev || device.is "tako") [ diff --git a/overlays/codex.nix b/overlays/codex.nix index cc00a7e..e6c8600 100644 --- a/overlays/codex.nix +++ b/overlays/codex.nix @@ -19,6 +19,10 @@ substituteInPlace Cargo.toml \ --replace-fail 'lto = "thin"' "" \ --replace-fail 'codegen-units = 1' "" + substituteInPlace realtime-webrtc/src/lib.rs \ + --replace-fail 'target_os = "macos"' 'all(target_os = "macos", any())' + substituteInPlace realtime-webrtc/Cargo.toml \ + --replace-fail "[target.'cfg(target_os = \"macos\")'.dependencies]" "[target.'cfg(target_os = \"ios\")'.dependencies]" ''; }); }