these 5 derivations will be built: /nix/store/gmcsnrmqw2yz5rj4i3x9hxif7rw277mp-codesign-check-hook.drv /nix/store/p7v0kcc9kwi8q35z7yb717sr1bxk4f7n-wrap-buddy-1.0.0.drv /nix/store/ynbwz1p1apw72g8nl675hpx64kd52rj5-wrap-buddy-hook.drv /nix/store/ql5qpscxz1fx1smsrg41d2q2vwd5xszk-claude-code-2.1.276.drv /nix/store/l2l3mvb8cx4kyvmfwx8slmwsgwgqhv95-claude.drv these 2 paths will be fetched (14.3 MiB download, 43.9 MiB unpacked): /nix/store/x1ykqbhzyc45k8dh3i6znj7z4hd9ibg5-pueue-4.0.4 /nix/store/1jf8bzw763apacl9xmx5ani3q8wrsc9y-rcodesign-0.29.0 building '/nix/store/p7v0kcc9kwi8q35z7yb717sr1bxk4f7n-wrap-buddy-1.0.0.drv' wrap-buddy-1.0.0> tribuchet: building on eliza building '/nix/store/gmcsnrmqw2yz5rj4i3x9hxif7rw277mp-codesign-check-hook.drv' codesign-check-hook> tribuchet: building on eliza wrap-buddy-1.0.0> Running phase: unpackPhase wrap-buddy-1.0.0> unpacking source archive /nix/store/narnbxbbn9wqa7z715m2x7ycrss2gsj0-source wrap-buddy-1.0.0> source root is source wrap-buddy-1.0.0> Running phase: patchPhase wrap-buddy-1.0.0> Running phase: updateAutotoolsGnuConfigScriptsPhase wrap-buddy-1.0.0> Running phase: configurePhase wrap-buddy-1.0.0> no configure script, doing nothing wrap-buddy-1.0.0> Running phase: buildPhase wrap-buddy-1.0.0> build flags: -j24 SHELL=/nix/store/mwhkh9l5j5z6mkk83k22rjhx6lxgqh85-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/99zij8qfs8wzbb2njrj18ys8hpnrcj3p-gcc-wrapper-16.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/hx9wvdx2l59iahwf9nmrx7rwkm6cymgs-glibc-2.44-25/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/hx9wvdx2l59iahwf9nmrx7rwkm6cymgs-glibc-2.44-25/lib wrap-buddy-1.0.0> gcc -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Os -Iinclude -mcmodel=tiny -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -o loader.elf src/loader/loader.c wrap-buddy-1.0.0> gcc -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Os -Iinclude -mcmodel=tiny -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -DLOADER_PATH='"/nix/store/x6sx3ia4wryzi6yr1ssyaqr8xmg2m0lf-wrap-buddy-1.0.0/lib/wrap-buddy/loader.bin"' -Iinclude -o stub.elf src/stub/stub.c wrap-buddy-1.0.0> /nix/store/j2f02jl7pb3wcljmqh602j0pa6rkxd31-binutils-2.46/bin/ld.bfd: warning: stub.elf has a LOAD segment with RWX permissions wrap-buddy-1.0.0> objcopy -O binary --only-section=.all stub.elf stub.bin wrap-buddy-1.0.0> xxd -i stub.bin > src/patcher/stub_64.h wrap-buddy-1.0.0> /nix/store/99zij8qfs8wzbb2njrj18ys8hpnrcj3p-gcc-wrapper-16.2.0/bin/c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DDEFAULT_INTERP='"/nix/store/hx9wvdx2l59iahwf9nmrx7rwkm6cymgs-glibc-2.44-25/lib/ld-linux-aarch64.so.1"' -DDEFAULT_LIBC_LIB='"/nix/store/hx9wvdx2l59iahwf9nmrx7rwkm6cymgs-glibc-2.44-25/lib"' -Isrc/patcher -o wrap-buddy src/patcher/main.cc wrap-buddy-1.0.0> /nix/store/j2f02jl7pb3wcljmqh602j0pa6rkxd31-binutils-2.46/bin/ld.bfd: warning: loader.elf has a LOAD segment with RWX permissions wrap-buddy-1.0.0> objcopy -O binary --only-section=.all loader.elf loader.bin codesign-check-hook> structuredAttrs is enabled wrap-buddy-1.0.0> Running phase: installPhase wrap-buddy-1.0.0> install flags: -j24 SHELL=/nix/store/mwhkh9l5j5z6mkk83k22rjhx6lxgqh85-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/99zij8qfs8wzbb2njrj18ys8hpnrcj3p-gcc-wrapper-16.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/hx9wvdx2l59iahwf9nmrx7rwkm6cymgs-glibc-2.44-25/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/hx9wvdx2l59iahwf9nmrx7rwkm6cymgs-glibc-2.44-25/lib install wrap-buddy-1.0.0> install -d /nix/store/x6sx3ia4wryzi6yr1ssyaqr8xmg2m0lf-wrap-buddy-1.0.0/bin wrap-buddy-1.0.0> install -m 755 wrap-buddy /nix/store/x6sx3ia4wryzi6yr1ssyaqr8xmg2m0lf-wrap-buddy-1.0.0/bin/ wrap-buddy-1.0.0> install -d /nix/store/x6sx3ia4wryzi6yr1ssyaqr8xmg2m0lf-wrap-buddy-1.0.0/lib/wrap-buddy wrap-buddy-1.0.0> install -m 644 loader.bin stub.bin /nix/store/x6sx3ia4wryzi6yr1ssyaqr8xmg2m0lf-wrap-buddy-1.0.0/lib/wrap-buddy/ wrap-buddy-1.0.0> Running phase: fixupPhase wrap-buddy-1.0.0> shrinking RPATHs of ELF executables and libraries in /nix/store/x6sx3ia4wryzi6yr1ssyaqr8xmg2m0lf-wrap-buddy-1.0.0 wrap-buddy-1.0.0> shrinking /nix/store/x6sx3ia4wryzi6yr1ssyaqr8xmg2m0lf-wrap-buddy-1.0.0/bin/wrap-buddy wrap-buddy-1.0.0> checking for references to /build/ in /nix/store/x6sx3ia4wryzi6yr1ssyaqr8xmg2m0lf-wrap-buddy-1.0.0... wrap-buddy-1.0.0> patching script interpreter paths in /nix/store/x6sx3ia4wryzi6yr1ssyaqr8xmg2m0lf-wrap-buddy-1.0.0 wrap-buddy-1.0.0> stripping (with command strip and flags -S -p) in /nix/store/x6sx3ia4wryzi6yr1ssyaqr8xmg2m0lf-wrap-buddy-1.0.0/lib /nix/store/x6sx3ia4wryzi6yr1ssyaqr8xmg2m0lf-wrap-buddy-1.0.0/bin wrap-buddy-1.0.0> Running phase: installCheckPhase wrap-buddy-1.0.0> installcheck flags: -j24 SHELL=/nix/store/mwhkh9l5j5z6mkk83k22rjhx6lxgqh85-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/99zij8qfs8wzbb2njrj18ys8hpnrcj3p-gcc-wrapper-16.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/hx9wvdx2l59iahwf9nmrx7rwkm6cymgs-glibc-2.44-25/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/hx9wvdx2l59iahwf9nmrx7rwkm6cymgs-glibc-2.44-25/lib check wrap-buddy-1.0.0> bash tests/test.sh --interp /nix/store/hx9wvdx2l59iahwf9nmrx7rwkm6cymgs-glibc-2.44-25/lib/ld-linux-aarch64.so.1 --libs /nix/store/hx9wvdx2l59iahwf9nmrx7rwkm6cymgs-glibc-2.44-25/lib wrap-buddy-1.0.0> === Test: basic patching === wrap-buddy-1.0.0> Using interpreter: /nix/store/hx9wvdx2l59iahwf9nmrx7rwkm6cymgs-glibc-2.44-25/lib/ld-linux-aarch64.so.1 wrap-buddy-1.0.0> 64-bit stub: 422 bytes wrap-buddy-1.0.0> 32-bit stub: not available wrap-buddy-1.0.0> Patching: /build/tmp.Q7jCeI3FPb/basic wrap-buddy-1.0.0> ELF class: 64-bit wrap-buddy-1.0.0> Original entry: 0xa00 (file offset: 0xa00) wrap-buddy-1.0.0> Available space at entry: 4820 bytes wrap-buddy-1.0.0> Stub size: 422 bytes (padded to 432) wrap-buddy-1.0.0> Wrote config to /build/tmp.Q7jCeI3FPb/.basic.wrapbuddy wrap-buddy-1.0.0> Overwrote 432 bytes at entry point wrap-buddy-1.0.0> Converted PT_INTERP to PT_NULL wrap-buddy-1.0.0> Patched: /build/tmp.Q7jCeI3FPb/basic wrap-buddy-1.0.0> PASS: basic patching wrap-buddy-1.0.0> === Test: --needed injection === wrap-buddy-1.0.0> Using interpreter: /nix/store/hx9wvdx2l59iahwf9nmrx7rwkm6cymgs-glibc-2.44-25/lib/ld-linux-aarch64.so.1 wrap-buddy-1.0.0> 64-bit stub: 422 bytes wrap-buddy-1.0.0> 32-bit stub: not available wrap-buddy-1.0.0> Patching: /build/tmp.Q7jCeI3FPb/check wrap-buddy-1.0.0> ELF class: 64-bit wrap-buddy-1.0.0> Original entry: 0x840 (file offset: 0x840) wrap-buddy-1.0.0> Available space at entry: 4748 bytes wrap-buddy-1.0.0> Stub size: 422 bytes (padded to 432) wrap-buddy-1.0.0> Wrote config to /build/tmp.Q7jCeI3FPb/.check.wrapbuddy wrap-buddy-1.0.0> Overwrote 432 bytes at entry point wrap-buddy-1.0.0> Converted PT_INTERP to PT_NULL wrap-buddy-1.0.0> Patched: /build/tmp.Q7jCeI3FPb/check wrap-buddy-1.0.0> PASS: --needed injection wrap-buddy-1.0.0> === All tests passed === building '/nix/store/ynbwz1p1apw72g8nl675hpx64kd52rj5-wrap-buddy-hook.drv' wrap-buddy-hook> tribuchet: building on eliza wrap-buddy-hook> structuredAttrs is enabled building '/nix/store/ql5qpscxz1fx1smsrg41d2q2vwd5xszk-claude-code-2.1.276.drv' claude-code-2.1.276> tribuchet: building on eliza claude-code-2.1.276> Using versionCheckHook claude-code-2.1.276> Running phase: patchPhase claude-code-2.1.276> Running phase: updateAutotoolsGnuConfigScriptsPhase claude-code-2.1.276> Running phase: configurePhase claude-code-2.1.276> no configure script, doing nothing claude-code-2.1.276> Running phase: buildPhase claude-code-2.1.276> no Makefile or custom buildPhase, doing nothing claude-code-2.1.276> Running phase: installPhase claude-code-2.1.276> Running phase: fixupPhase claude-code-2.1.276> shrinking RPATHs of ELF executables and libraries in /nix/store/kzr5wzjgf3h759d9f6zchynqcjswc51s-claude-code-2.1.276 claude-code-2.1.276> shrinking /nix/store/kzr5wzjgf3h759d9f6zchynqcjswc51s-claude-code-2.1.276/bin/claude claude-code-2.1.276> checking for references to /build/ in /nix/store/kzr5wzjgf3h759d9f6zchynqcjswc51s-claude-code-2.1.276... claude-code-2.1.276> patching script interpreter paths in /nix/store/kzr5wzjgf3h759d9f6zchynqcjswc51s-claude-code-2.1.276 claude-code-2.1.276> wrapBuddy: wrapping paths: /nix/store/kzr5wzjgf3h759d9f6zchynqcjswc51s-claude-code-2.1.276 claude-code-2.1.276> Using interpreter: /nix/store/hx9wvdx2l59iahwf9nmrx7rwkm6cymgs-glibc-2.44-25/lib/ld-linux-aarch64.so.1 claude-code-2.1.276> 64-bit stub: 422 bytes claude-code-2.1.276> 32-bit stub: not available claude-code-2.1.276> Patching: /nix/store/kzr5wzjgf3h759d9f6zchynqcjswc51s-claude-code-2.1.276/bin/.claude-wrapped claude-code-2.1.276> ELF class: 64-bit claude-code-2.1.276> Original entry: 0x1791c00 (file offset: 0x1581c00) claude-code-2.1.276> Available space at entry: 63314400 bytes claude-code-2.1.276> Stub size: 422 bytes (padded to 432) claude-code-2.1.276> Wrote config to /nix/store/kzr5wzjgf3h759d9f6zchynqcjswc51s-claude-code-2.1.276/bin/..claude-wrapped.wrapbuddy claude-code-2.1.276> Overwrote 432 bytes at entry point claude-code-2.1.276> Converted PT_INTERP to PT_NULL claude-code-2.1.276> Patched: /nix/store/kzr5wzjgf3h759d9f6zchynqcjswc51s-claude-code-2.1.276/bin/.claude-wrapped claude-code-2.1.276> Running phase: installCheckPhase claude-code-2.1.276> Executing versionCheckPhase claude-code-2.1.276> Successfully managed to find version 2.1.276 in the output of the command /nix/store/kzr5wzjgf3h759d9f6zchynqcjswc51s-claude-code-2.1.276/bin/claude --version claude-code-2.1.276> 2.1.276 (Claude Code) claude-code-2.1.276> Finished versionCheckPhase claude-code-2.1.276> codesignCheckHook: checking /nix/store/zdb4brybkxqfnhnnp3ibdxdzxld8qwmg-claude claude-code-2.1.276> (the verify command is known to be buggy and gives misleading results; we highly recommend using Apple's tooling until this message is removed) claude-code-2.1.276> no problems detected! claude-code-2.1.276> (we do not verify everything so please do not assume that the signature meets Apple standards) claude-code-2.1.276> CMS Verification successful claude-code-2.1.276> codesignCheckHook: verified 1 Mach-O binaries for team Q6L2SF6YDW claude-code-2.1.276> no Makefile or custom installCheckPhase, doing nothing building '/nix/store/l2l3mvb8cx4kyvmfwx8slmwsgwgqhv95-claude.drv' claude> tribuchet: building on eliza claude> structuredAttrs is enabled post-build step Upload coverage to codecov: ok Skipping codecov: project=Mic92/dotfiles attr=checks.aarch64-linux.package-claude-code