these 7 derivations will be built: /nix/store/gmcsnrmqw2yz5rj4i3x9hxif7rw277mp-codesign-check-hook.drv /nix/store/hc17p720mn4sx7jdjri3x8fhy4bw39ks-claude.drv /nix/store/sk7sqfy7fsbgp5f7gh1qlx1p1jg2v0d2-claude.drv /nix/store/p7v0kcc9kwi8q35z7yb717sr1bxk4f7n-wrap-buddy-1.0.0.drv /nix/store/ynbwz1p1apw72g8nl675hpx64kd52rj5-wrap-buddy-hook.drv /nix/store/xfp43k18z64yvf24p05a97f2wzhdxmrl-claude-code-2.1.300.drv /nix/store/0fizrkhisv4rlml819jk7dvzf0d13w35-claude.drv this path will be fetched (8.9 MiB download, 30.0 MiB unpacked): /nix/store/1jf8bzw763apacl9xmx5ani3q8wrsc9y-rcodesign-0.29.0 building '/nix/store/djhrh7lflgccm5dx70iss5y7n2bdv1b3-claude.drv' building '/nix/store/p7v0kcc9kwi8q35z7yb717sr1bxk4f7n-wrap-buddy-1.0.0.drv' claude> tribuchet: building on eliza wrap-buddy-1.0.0> tribuchet: building on eliza claude> structuredAttrs is enabled claude> claude> trying https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.300/linux-arm64/claude 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 claude> % Total % Received % Xferd Average Speed Time Time Time Current claude> Dload Upload Total Spent Left Speed claude> claude> 0 0 0 0 0 0 0 0 0 claude> 3 253.9M 3 8.71M 0 0 8.39M 0 00:30 00:01 00:29 8.71M claude> 17 253.9M 17 45.36M 0 0 21.96M 0 00:11 00:02 00:09 22.37M claude> 34 253.9M 34 88.23M 0 0 28.78M 0 00:08 00:03 00:05 29.14M claude> 50 253.9M 50 129.0M 0 0 31.55M 0 00:08 00:04 00:04 31.85M claude> 67 253.9M 67 170.6M 0 0 33.48M 0 00:07 00:05 00:02 33.73M claude> 82 253.9M 82 209.1M 0 0 34.30M 0 00:07 00:06 00:01 39.62M claude> 98 253.9M 98 250.5M 0 0 35.29M 0 00:07 00:07 40.77M claude> 100 253.9M 100 253.9M 0 0 35.35M 0 00:07 00:07 40.77M claude> 100 253.9M 100 253.9M 0 0 35.35M 0 00:07 00:07 40.77M claude> 100 253.9M 100 253.9M 0 0 35.35M 0 00:07 00:07 40.77M 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.vR91p6f3rM/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.vR91p6f3rM/.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.vR91p6f3rM/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.vR91p6f3rM/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.vR91p6f3rM/.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.vR91p6f3rM/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/xfp43k18z64yvf24p05a97f2wzhdxmrl-claude-code-2.1.300.drv' claude-code-2.1.300> tribuchet: building on eliza claude-code-2.1.300> Using versionCheckHook claude-code-2.1.300> Running phase: patchPhase claude-code-2.1.300> Running phase: updateAutotoolsGnuConfigScriptsPhase claude-code-2.1.300> Running phase: configurePhase claude-code-2.1.300> no configure script, doing nothing claude-code-2.1.300> Running phase: buildPhase claude-code-2.1.300> no Makefile or custom buildPhase, doing nothing claude-code-2.1.300> Running phase: installPhase claude-code-2.1.300> Running phase: fixupPhase claude-code-2.1.300> shrinking RPATHs of ELF executables and libraries in /nix/store/fzxb8hzvkmcc1x5mkkp937b3k73hbsqg-claude-code-2.1.300 claude-code-2.1.300> shrinking /nix/store/fzxb8hzvkmcc1x5mkkp937b3k73hbsqg-claude-code-2.1.300/bin/claude claude-code-2.1.300> checking for references to /build/ in /nix/store/fzxb8hzvkmcc1x5mkkp937b3k73hbsqg-claude-code-2.1.300... claude-code-2.1.300> patching script interpreter paths in /nix/store/fzxb8hzvkmcc1x5mkkp937b3k73hbsqg-claude-code-2.1.300 claude-code-2.1.300> wrapBuddy: wrapping paths: /nix/store/fzxb8hzvkmcc1x5mkkp937b3k73hbsqg-claude-code-2.1.300 claude-code-2.1.300> Using interpreter: /nix/store/hx9wvdx2l59iahwf9nmrx7rwkm6cymgs-glibc-2.44-25/lib/ld-linux-aarch64.so.1 claude-code-2.1.300> 64-bit stub: 422 bytes claude-code-2.1.300> 32-bit stub: not available claude-code-2.1.300> Patching: /nix/store/fzxb8hzvkmcc1x5mkkp937b3k73hbsqg-claude-code-2.1.300/bin/.claude-wrapped claude-code-2.1.300> ELF class: 64-bit claude-code-2.1.300> Original entry: 0x1820400 (file offset: 0x1610400) claude-code-2.1.300> Available space at entry: 71013152 bytes claude-code-2.1.300> Stub size: 422 bytes (padded to 432) claude-code-2.1.300> Wrote config to /nix/store/fzxb8hzvkmcc1x5mkkp937b3k73hbsqg-claude-code-2.1.300/bin/..claude-wrapped.wrapbuddy claude-code-2.1.300> Overwrote 432 bytes at entry point claude-code-2.1.300> Converted PT_INTERP to PT_NULL claude-code-2.1.300> Patched: /nix/store/fzxb8hzvkmcc1x5mkkp937b3k73hbsqg-claude-code-2.1.300/bin/.claude-wrapped claude-code-2.1.300> Running phase: installCheckPhase claude-code-2.1.300> Executing versionCheckPhase claude-code-2.1.300> Successfully managed to find version 2.1.300 in the output of the command /nix/store/fzxb8hzvkmcc1x5mkkp937b3k73hbsqg-claude-code-2.1.300/bin/claude --version claude-code-2.1.300> 2.1.300 (Claude Code) claude-code-2.1.300> Finished versionCheckPhase claude-code-2.1.300> codesignCheckHook: checking /nix/store/4ix0m1bzmiziyn4f95r0qpb2jkn1pxvk-claude claude-code-2.1.300> (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.300> no problems detected! claude-code-2.1.300> (we do not verify everything so please do not assume that the signature meets Apple standards) claude-code-2.1.300> CMS Verification successful claude-code-2.1.300> codesignCheckHook: verified 1 Mach-O binaries for team Q6L2SF6YDW claude-code-2.1.300> no Makefile or custom installCheckPhase, doing nothing building '/nix/store/0fizrkhisv4rlml819jk7dvzf0d13w35-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