450b77140ba584ff4b04b80456f67ce5ca62e56d
`bun2nix.hook` (used by upstream omp's package.nix) sets patchPhase = bunPatchPhase at the end of its setup-hook unless `dontUseBunPatch` is already set. `bunPatchPhase` only runs `patchShebangs` plus a HOME mktemp; it never iterates over `$patches`. The standard nixpkgs `patches` attribute therefore went into the derivation env but was silently ignored at build time, leaving the deployed omp binary unpatched. Switch to applying the two patches via `prePatch` (which `bunPatchPhase` does call). Verified with strings(1) over the rebuilt binary that both patch hunks land: /wrong_api_format|...|invalid tool parameters/ (patch 0001) stubsReasoningContent ... thinkingFormat == "openrouter" (patch 0002)
My NixOS configs ✨
Hosts
- mreow: My personal Framework 13 laptop
- yarn: Machine I usually just play games on. Boots into SteamOS-like interface.
- muffin: Homeserver, runs various services.
Desktop/Laptop
What do I use?
Browser: Firefox 🦊 (actually Zen Browser :p)
Text Editor: Doom Emacs
Terminal: alacritty
Shell: fish with the pure prompt
WM: niri (KDE on my desktop)
Background
- Got my background from here and used the command
magick input.png -filter Point -resize 2880x1920! output.pngto upscale it bilinearly
Description
Languages
Nix
84.6%
Python
10.7%
Emacs Lisp
2.6%
Shell
2.1%