these 3 derivations will be built: /nix/store/l9388mq2yq73xp7vc4yqb0zf4i2q4k20-wrap-buddy-1.0.0.drv /nix/store/8j02wq0l3n87fy87i57cj32ab7yl3v2h-wrap-buddy-hook.drv /nix/store/1hmpwf6bsrap8dnv88b294b5z924jkcz-amp-0.0.1786595533-g5ba330.drv these 6 paths will be fetched (4.0 MiB download, 14.5 MiB unpacked): /nix/store/6ppdi802js8s56d0nwxwi6jkdxpzqvv1-elfutils-0.195 /nix/store/xfzybfpj6daddkv2l5rcgwqrjvhrky9h-json-c-0.18 /nix/store/axp6zlky4x2v3jwcbq24a2cz25hzlw9b-ripgrep-15.2.0 /nix/store/qcl66q3nnbd9g6273qp258nnxmb7vwfg-strace-7.1 /nix/store/kqwy4a092smmbk7nhmdnpn61j82m6nkq-tinyxxd-1.3.16 /nix/store/y8b6h1cbw2kvwq3cihvk2r9z9d0ardzv-xxd-tinyxxd-1.3.16 building '/nix/store/l9388mq2yq73xp7vc4yqb0zf4i2q4k20-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: -j48 SHELL=/nix/store/byi2zpy2bgcf3dr6y0l8m50rmjj8z7q1-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/3d1c302vw7kc8a5vknhmn34c0pd7zm6m-gcc-wrapper-15.3.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/0d8g8n0a11v6f5m2h416ajyxmnkwc3md-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/0d8g8n0a11v6f5m2h416ajyxmnkwc3md-glibc-2.42-67/lib BUILD_32BIT=1 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 -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 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -DLOADER_PATH='"/nix/store/vspdsry4m7ckpfc3ni27mgsmyi7v8dpv-wrap-buddy-1.0.0/lib/wrap-buddy/loader.bin"' -Iinclude -o stub.elf src/stub/stub.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 -m32 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -o loader32.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 -m32 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -DLOADER_PATH='"/nix/store/vspdsry4m7ckpfc3ni27mgsmyi7v8dpv-wrap-buddy-1.0.0/lib/wrap-buddy/loader32.bin"' -o stub32.elf src/stub/stub.c wrap-buddy-1.0.0> /nix/store/8lkj89binl0xhraqxb8bwmv0q4p3pnlr-binutils-2.46/bin/ld.bfd: warning: stub.elf has a LOAD segment with RWX permissions wrap-buddy-1.0.0> /nix/store/8lkj89binl0xhraqxb8bwmv0q4p3pnlr-binutils-2.46/bin/ld.bfd: warning: stub32.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> objcopy -O binary --only-section=.all stub32.elf stub32.bin wrap-buddy-1.0.0> xxd -i stub32.bin > src/patcher/stub_32.h wrap-buddy-1.0.0> xxd -i stub.bin > src/patcher/stub_64.h wrap-buddy-1.0.0> /nix/store/3d1c302vw7kc8a5vknhmn34c0pd7zm6m-gcc-wrapper-15.3.0/bin/c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DHAVE_STUB_32 -DDEFAULT_INTERP='"/nix/store/0d8g8n0a11v6f5m2h416ajyxmnkwc3md-glibc-2.42-67/lib/ld-linux-x86-64.so.2"' -DDEFAULT_LIBC_LIB='"/nix/store/0d8g8n0a11v6f5m2h416ajyxmnkwc3md-glibc-2.42-67/lib"' -Isrc/patcher -o wrap-buddy src/patcher/main.cc wrap-buddy-1.0.0> /nix/store/8lkj89binl0xhraqxb8bwmv0q4p3pnlr-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> /nix/store/8lkj89binl0xhraqxb8bwmv0q4p3pnlr-binutils-2.46/bin/ld.bfd: warning: loader32.elf has a LOAD segment with RWX permissions wrap-buddy-1.0.0> objcopy -O binary --only-section=.all loader32.elf loader32.bin wrap-buddy-1.0.0> Running phase: installPhase wrap-buddy-1.0.0> install flags: -j48 SHELL=/nix/store/byi2zpy2bgcf3dr6y0l8m50rmjj8z7q1-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/3d1c302vw7kc8a5vknhmn34c0pd7zm6m-gcc-wrapper-15.3.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/0d8g8n0a11v6f5m2h416ajyxmnkwc3md-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/0d8g8n0a11v6f5m2h416ajyxmnkwc3md-glibc-2.42-67/lib BUILD_32BIT=1 install wrap-buddy-1.0.0> install -d /nix/store/vspdsry4m7ckpfc3ni27mgsmyi7v8dpv-wrap-buddy-1.0.0/bin wrap-buddy-1.0.0> install -m 755 wrap-buddy /nix/store/vspdsry4m7ckpfc3ni27mgsmyi7v8dpv-wrap-buddy-1.0.0/bin/ wrap-buddy-1.0.0> install -d /nix/store/vspdsry4m7ckpfc3ni27mgsmyi7v8dpv-wrap-buddy-1.0.0/lib/wrap-buddy wrap-buddy-1.0.0> install -m 644 loader.bin stub.bin loader32.bin stub32.bin /nix/store/vspdsry4m7ckpfc3ni27mgsmyi7v8dpv-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/vspdsry4m7ckpfc3ni27mgsmyi7v8dpv-wrap-buddy-1.0.0 wrap-buddy-1.0.0> shrinking /nix/store/vspdsry4m7ckpfc3ni27mgsmyi7v8dpv-wrap-buddy-1.0.0/bin/wrap-buddy wrap-buddy-1.0.0> checking for references to /build/ in /nix/store/vspdsry4m7ckpfc3ni27mgsmyi7v8dpv-wrap-buddy-1.0.0... wrap-buddy-1.0.0> patching script interpreter paths in /nix/store/vspdsry4m7ckpfc3ni27mgsmyi7v8dpv-wrap-buddy-1.0.0 wrap-buddy-1.0.0> stripping (with command strip and flags -S -p) in /nix/store/vspdsry4m7ckpfc3ni27mgsmyi7v8dpv-wrap-buddy-1.0.0/lib /nix/store/vspdsry4m7ckpfc3ni27mgsmyi7v8dpv-wrap-buddy-1.0.0/bin wrap-buddy-1.0.0> Running phase: installCheckPhase wrap-buddy-1.0.0> installcheck flags: -j48 SHELL=/nix/store/byi2zpy2bgcf3dr6y0l8m50rmjj8z7q1-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/3d1c302vw7kc8a5vknhmn34c0pd7zm6m-gcc-wrapper-15.3.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/0d8g8n0a11v6f5m2h416ajyxmnkwc3md-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/0d8g8n0a11v6f5m2h416ajyxmnkwc3md-glibc-2.42-67/lib BUILD_32BIT=1 check wrap-buddy-1.0.0> bash tests/test.sh --interp /nix/store/0d8g8n0a11v6f5m2h416ajyxmnkwc3md-glibc-2.42-67/lib/ld-linux-x86-64.so.2 --libs /nix/store/0d8g8n0a11v6f5m2h416ajyxmnkwc3md-glibc-2.42-67/lib wrap-buddy-1.0.0> === Test: basic patching === wrap-buddy-1.0.0> Using interpreter: /nix/store/0d8g8n0a11v6f5m2h416ajyxmnkwc3md-glibc-2.42-67/lib/ld-linux-x86-64.so.2 wrap-buddy-1.0.0> 64-bit stub: 407 bytes wrap-buddy-1.0.0> 32-bit stub: 441 bytes wrap-buddy-1.0.0> Patching: /build/tmp.m8ByqOFoBj/basic wrap-buddy-1.0.0> ELF class: 64-bit wrap-buddy-1.0.0> Original entry: 0x1150 (file offset: 0x1150) wrap-buddy-1.0.0> Available space at entry: 4345 bytes wrap-buddy-1.0.0> Stub size: 407 bytes (padded to 416) wrap-buddy-1.0.0> Wrote config to /build/tmp.m8ByqOFoBj/.basic.wrapbuddy wrap-buddy-1.0.0> Overwrote 416 bytes at entry point wrap-buddy-1.0.0> Converted PT_INTERP to PT_NULL wrap-buddy-1.0.0> Patched: /build/tmp.m8ByqOFoBj/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/0d8g8n0a11v6f5m2h416ajyxmnkwc3md-glibc-2.42-67/lib/ld-linux-x86-64.so.2 wrap-buddy-1.0.0> 64-bit stub: 407 bytes wrap-buddy-1.0.0> 32-bit stub: 441 bytes wrap-buddy-1.0.0> Patching: /build/tmp.m8ByqOFoBj/check wrap-buddy-1.0.0> ELF class: 64-bit wrap-buddy-1.0.0> Original entry: 0x10f0 (file offset: 0x10f0) wrap-buddy-1.0.0> Available space at entry: 4345 bytes wrap-buddy-1.0.0> Stub size: 407 bytes (padded to 416) wrap-buddy-1.0.0> Wrote config to /build/tmp.m8ByqOFoBj/.check.wrapbuddy wrap-buddy-1.0.0> Overwrote 416 bytes at entry point wrap-buddy-1.0.0> Converted PT_INTERP to PT_NULL wrap-buddy-1.0.0> Patched: /build/tmp.m8ByqOFoBj/check wrap-buddy-1.0.0> PASS: --needed injection wrap-buddy-1.0.0> === All tests passed === building '/nix/store/8j02wq0l3n87fy87i57cj32ab7yl3v2h-wrap-buddy-hook.drv' building '/nix/store/1hmpwf6bsrap8dnv88b294b5z924jkcz-amp-0.0.1786595533-g5ba330.drv' amp-0.0.1786595533-g5ba330> Using versionCheckHook amp-0.0.1786595533-g5ba330> Running phase: patchPhase amp-0.0.1786595533-g5ba330> Running phase: updateAutotoolsGnuConfigScriptsPhase amp-0.0.1786595533-g5ba330> Running phase: configurePhase amp-0.0.1786595533-g5ba330> no configure script, doing nothing amp-0.0.1786595533-g5ba330> Running phase: buildPhase amp-0.0.1786595533-g5ba330> no Makefile or custom buildPhase, doing nothing amp-0.0.1786595533-g5ba330> Running phase: installPhase amp-0.0.1786595533-g5ba330> Running phase: fixupPhase amp-0.0.1786595533-g5ba330> shrinking RPATHs of ELF executables and libraries in /nix/store/bm95x815yfbqs2lp2byq6ps76m85qm50-amp-0.0.1786595533-g5ba330 amp-0.0.1786595533-g5ba330> shrinking /nix/store/bm95x815yfbqs2lp2byq6ps76m85qm50-amp-0.0.1786595533-g5ba330/bin/amp amp-0.0.1786595533-g5ba330> checking for references to /build/ in /nix/store/bm95x815yfbqs2lp2byq6ps76m85qm50-amp-0.0.1786595533-g5ba330... amp-0.0.1786595533-g5ba330> patching script interpreter paths in /nix/store/bm95x815yfbqs2lp2byq6ps76m85qm50-amp-0.0.1786595533-g5ba330 amp-0.0.1786595533-g5ba330> wrapBuddy: wrapping paths: /nix/store/bm95x815yfbqs2lp2byq6ps76m85qm50-amp-0.0.1786595533-g5ba330 amp-0.0.1786595533-g5ba330> Using interpreter: /nix/store/0d8g8n0a11v6f5m2h416ajyxmnkwc3md-glibc-2.42-67/lib/ld-linux-x86-64.so.2 amp-0.0.1786595533-g5ba330> 64-bit stub: 407 bytes amp-0.0.1786595533-g5ba330> 32-bit stub: 441 bytes amp-0.0.1786595533-g5ba330> Patching: /nix/store/bm95x815yfbqs2lp2byq6ps76m85qm50-amp-0.0.1786595533-g5ba330/bin/.amp-wrapped amp-0.0.1786595533-g5ba330> ELF class: 64-bit amp-0.0.1786595533-g5ba330> Original entry: 0x24c7e00 (file offset: 0x2067e00) amp-0.0.1786595533-g5ba330> Available space at entry: 58510096 bytes amp-0.0.1786595533-g5ba330> Stub size: 407 bytes (padded to 416) amp-0.0.1786595533-g5ba330> Wrote config to /nix/store/bm95x815yfbqs2lp2byq6ps76m85qm50-amp-0.0.1786595533-g5ba330/bin/..amp-wrapped.wrapbuddy amp-0.0.1786595533-g5ba330> Overwrote 416 bytes at entry point amp-0.0.1786595533-g5ba330> Converted PT_INTERP to PT_NULL amp-0.0.1786595533-g5ba330> Patched: /nix/store/bm95x815yfbqs2lp2byq6ps76m85qm50-amp-0.0.1786595533-g5ba330/bin/.amp-wrapped amp-0.0.1786595533-g5ba330> Running phase: installCheckPhase amp-0.0.1786595533-g5ba330> Executing versionCheckPhase amp-0.0.1786595533-g5ba330> Successfully managed to find version 0.0.1786595533-g5ba330 in the output of the command /nix/store/bm95x815yfbqs2lp2byq6ps76m85qm50-amp-0.0.1786595533-g5ba330/bin/amp --version amp-0.0.1786595533-g5ba330> 0.0.1786595533-g5ba330 (released 2026-08-13T04:32:13.000Z, 3h ago) amp-0.0.1786595533-g5ba330> Finished versionCheckPhase amp-0.0.1786595533-g5ba330> no Makefile or custom installCheckPhase, doing nothing post-build step Upload to niks3: ok time=2026-08-13T07:53:38.374Z level=INFO msg="Uploading 4 paths to niks3.numtide.com (7 already cached)" time=2026-08-13T07:53:38.375Z level=INFO msg="Uploading dsn500c5j62qz9f49mi3nhx74jbkf6xq-pcre2-10.47 (2.0MB)" time=2026-08-13T07:53:38.375Z level=INFO msg="Uploading axp6zlky4x2v3jwcbq24a2cz25hzlw9b-ripgrep-15.2.0 (6.8MB)" time=2026-08-13T07:53:38.375Z level=INFO msg="Uploading bm95x815yfbqs2lp2byq6ps76m85qm50-amp-0.0.1786595533-g5ba330 (106.7MB)" time=2026-08-13T07:53:38.375Z level=INFO msg="Uploading vspdsry4m7ckpfc3ni27mgsmyi7v8dpv-wrap-buddy-1.0.0 (229.4KB)" time=2026-08-13T07:53:42.376Z level=INFO msg="Uploading 5 narinfos" time=2026-08-13T07:53:42.866Z level=INFO msg="Upload complete. (4.722s)"