these 5 derivations will be built: /nix/store/mvfkxz4y1l5zidr5wm048ys50l9kn7gx-claude.drv /nix/store/s2fl27gbixryma7jw7qd0r3b9m6wdqyw-wrap-buddy-1.0.0.drv /nix/store/w8mjfc5vv8a09yyzpy2jxhkagpsc9p06-wrap-buddy-hook.drv /nix/store/p69i611h0lv2vv8gbk7z3apkxwcvyc8h-claude-code-2.1.178.drv /nix/store/z0jmx9fr41cymzr50xf5gy5gq0ap0lhg-claude.drv building '/nix/store/bx9mbrjgflz5gkqbk5h1kfwach2cpxfy-claude.drv' on 'ssh-ng://nix@eliza' building '/nix/store/s2fl27gbixryma7jw7qd0r3b9m6wdqyw-wrap-buddy-1.0.0.drv' on 'ssh-ng://nix@eliza' building '/nix/store/bx9mbrjgflz5gkqbk5h1kfwach2cpxfy-claude.drv' claude> structuredAttrs is enabled claude> claude> trying https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.178/linux-arm64/claude claude> % Total % Received % Xferd Average Speed Time Time Time Current claude> Dload Upload Total Spent Left Speed claude> 100 239.6M 100 239.6M 0 0 30.10M 0 00:07 00:07 35.62M building '/nix/store/s2fl27gbixryma7jw7qd0r3b9m6wdqyw-wrap-buddy-1.0.0.drv' 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: -j192 SHELL=/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/vsj0kl98ggilv1nq2gvxwrk12w2lgvjy-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/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/kyhk64i440g4gy03cbq76prnh6bnkjk6-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/dj8h6m1k6mmd0ysnk874qzi17g9y8pcd-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/vsj0kl98ggilv1nq2gvxwrk12w2lgvjy-gcc-wrapper-15.2.0/bin/c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DDEFAULT_INTERP='"/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.1"' -DDEFAULT_LIBC_LIB='"/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib"' -Isrc/patcher -o wrap-buddy src/patcher/main.cc wrap-buddy-1.0.0> /nix/store/dj8h6m1k6mmd0ysnk874qzi17g9y8pcd-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 wrap-buddy-1.0.0> Running phase: installPhase wrap-buddy-1.0.0> install flags: -j192 SHELL=/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/vsj0kl98ggilv1nq2gvxwrk12w2lgvjy-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib install wrap-buddy-1.0.0> install -d /nix/store/kyhk64i440g4gy03cbq76prnh6bnkjk6-wrap-buddy-1.0.0/bin wrap-buddy-1.0.0> install -m 755 wrap-buddy /nix/store/kyhk64i440g4gy03cbq76prnh6bnkjk6-wrap-buddy-1.0.0/bin/ wrap-buddy-1.0.0> install -d /nix/store/kyhk64i440g4gy03cbq76prnh6bnkjk6-wrap-buddy-1.0.0/lib/wrap-buddy wrap-buddy-1.0.0> install -m 644 loader.bin stub.bin /nix/store/kyhk64i440g4gy03cbq76prnh6bnkjk6-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/kyhk64i440g4gy03cbq76prnh6bnkjk6-wrap-buddy-1.0.0 wrap-buddy-1.0.0> shrinking /nix/store/kyhk64i440g4gy03cbq76prnh6bnkjk6-wrap-buddy-1.0.0/bin/wrap-buddy wrap-buddy-1.0.0> checking for references to /build/ in /nix/store/kyhk64i440g4gy03cbq76prnh6bnkjk6-wrap-buddy-1.0.0... wrap-buddy-1.0.0> patching script interpreter paths in /nix/store/kyhk64i440g4gy03cbq76prnh6bnkjk6-wrap-buddy-1.0.0 wrap-buddy-1.0.0> stripping (with command strip and flags -S -p) in /nix/store/kyhk64i440g4gy03cbq76prnh6bnkjk6-wrap-buddy-1.0.0/lib /nix/store/kyhk64i440g4gy03cbq76prnh6bnkjk6-wrap-buddy-1.0.0/bin wrap-buddy-1.0.0> Running phase: installCheckPhase wrap-buddy-1.0.0> installcheck flags: -j192 SHELL=/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/vsj0kl98ggilv1nq2gvxwrk12w2lgvjy-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib check wrap-buddy-1.0.0> bash tests/test.sh --interp /nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.1 --libs /nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib wrap-buddy-1.0.0> === Test: basic patching === wrap-buddy-1.0.0> Using interpreter: /nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/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.5aYmDrOTp8/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.5aYmDrOTp8/.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.5aYmDrOTp8/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/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/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.5aYmDrOTp8/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.5aYmDrOTp8/.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.5aYmDrOTp8/check wrap-buddy-1.0.0> PASS: --needed injection wrap-buddy-1.0.0> === All tests passed === building '/nix/store/w8mjfc5vv8a09yyzpy2jxhkagpsc9p06-wrap-buddy-hook.drv' on 'ssh-ng://nix@eliza' building '/nix/store/w8mjfc5vv8a09yyzpy2jxhkagpsc9p06-wrap-buddy-hook.drv' building '/nix/store/p69i611h0lv2vv8gbk7z3apkxwcvyc8h-claude-code-2.1.178.drv' on 'ssh-ng://nix@eliza' building '/nix/store/p69i611h0lv2vv8gbk7z3apkxwcvyc8h-claude-code-2.1.178.drv' claude-code-2.1.178> Using versionCheckHook claude-code-2.1.178> Running phase: patchPhase claude-code-2.1.178> Running phase: updateAutotoolsGnuConfigScriptsPhase claude-code-2.1.178> Running phase: configurePhase claude-code-2.1.178> no configure script, doing nothing claude-code-2.1.178> Running phase: buildPhase claude-code-2.1.178> no Makefile or custom buildPhase, doing nothing claude-code-2.1.178> Running phase: installPhase claude-code-2.1.178> Running phase: fixupPhase claude-code-2.1.178> shrinking RPATHs of ELF executables and libraries in /nix/store/d7pym2s45fypndfihx71z66hak9jshwl-claude-code-2.1.178 claude-code-2.1.178> shrinking /nix/store/d7pym2s45fypndfihx71z66hak9jshwl-claude-code-2.1.178/bin/claude claude-code-2.1.178> checking for references to /build/ in /nix/store/d7pym2s45fypndfihx71z66hak9jshwl-claude-code-2.1.178... claude-code-2.1.178> patching script interpreter paths in /nix/store/d7pym2s45fypndfihx71z66hak9jshwl-claude-code-2.1.178 claude-code-2.1.178> wrapBuddy: wrapping paths: /nix/store/d7pym2s45fypndfihx71z66hak9jshwl-claude-code-2.1.178 claude-code-2.1.178> Using interpreter: /nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.1 claude-code-2.1.178> 64-bit stub: 422 bytes claude-code-2.1.178> 32-bit stub: not available claude-code-2.1.178> Patching: /nix/store/d7pym2s45fypndfihx71z66hak9jshwl-claude-code-2.1.178/bin/.claude-wrapped claude-code-2.1.178> ELF class: 64-bit claude-code-2.1.178> Original entry: 0x23dca00 (file offset: 0x21cca00) claude-code-2.1.178> Available space at entry: 64004160 bytes claude-code-2.1.178> Stub size: 422 bytes (padded to 432) claude-code-2.1.178> Wrote config to /nix/store/d7pym2s45fypndfihx71z66hak9jshwl-claude-code-2.1.178/bin/..claude-wrapped.wrapbuddy claude-code-2.1.178> Overwrote 432 bytes at entry point claude-code-2.1.178> Converted PT_INTERP to PT_NULL claude-code-2.1.178> Patched: /nix/store/d7pym2s45fypndfihx71z66hak9jshwl-claude-code-2.1.178/bin/.claude-wrapped claude-code-2.1.178> Running phase: installCheckPhase claude-code-2.1.178> Executing versionCheckPhase claude-code-2.1.178> Successfully managed to find version 2.1.178 in the output of the command /nix/store/d7pym2s45fypndfihx71z66hak9jshwl-claude-code-2.1.178/bin/claude --version claude-code-2.1.178> 2.1.178 (Claude Code) claude-code-2.1.178> Finished versionCheckPhase claude-code-2.1.178> no Makefile or custom installCheckPhase, doing nothing building '/nix/store/z0jmx9fr41cymzr50xf5gy5gq0ap0lhg-claude.drv' on 'ssh-ng://nix@eliza' building '/nix/store/z0jmx9fr41cymzr50xf5gy5gq0ap0lhg-claude.drv' post-build step Upload coverage to codecov: ok Skipping codecov: project=Mic92/dotfiles attr=aarch64-linux.package-claude-code