Using versionCheckHook Running phase: unpackPhase Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase no Makefile or custom buildPhase, doing nothing Running phase: installPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_sqlite3.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/tree_sitter_runtime_binding.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/test_extension.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/cursorsandbox patchelf: cannot find section '.dynamic'. The input file is most likely statically linked shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/file_service.linux-x64-gnu.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/rg shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/tree_sitter_bash_binding.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/pty.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/cursor-agent-sea shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/better_sqlite3.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/cursor-agent-worker-sea shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/merkle-tree-napi.linux-x64-gnu.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/crepectl patchelf: cannot find section '.dynamic'. The input file is most likely statically linked shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter-bash/prebuilds/linux-x64/tree-sitter-bash.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter-bash/build/Release/obj.target/tree_sitter_bash_binding.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter-bash/build/Release/obj.target/tree_sitter_bash_binding/src/scanner.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter-bash/build/Release/obj.target/tree_sitter_bash_binding/src/parser.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter-bash/build/Release/obj.target/tree_sitter_bash_binding/bindings/node/binding.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter-bash/build/Release/tree_sitter_bash_binding.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter/build/Release/obj.target/tree_sitter_runtime_binding.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter/build/Release/obj.target/tree_sitter/vendor/tree-sitter/lib/src/lib.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter/build/Release/obj.target/tree_sitter_runtime_binding/src/binding.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter/build/Release/obj.target/tree_sitter_runtime_binding/src/query.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter/build/Release/obj.target/tree_sitter_runtime_binding/src/tree.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter/build/Release/obj.target/tree_sitter_runtime_binding/src/parser.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter/build/Release/obj.target/tree_sitter_runtime_binding/src/tree_cursor.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter/build/Release/obj.target/tree_sitter_runtime_binding/src/logger.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter/build/Release/obj.target/tree_sitter_runtime_binding/src/conversions.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter/build/Release/obj.target/tree_sitter_runtime_binding/src/language.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter/build/Release/obj.target/tree_sitter_runtime_binding/src/node.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter/build/Release/obj.target/tree_sitter_runtime_binding/src/lookaheaditerator.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/tree-sitter/build/Release/tree_sitter_runtime_binding.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/better-sqlite3/build/Release/better_sqlite3.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/better-sqlite3/build/Release/obj.target/better_sqlite3.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/better-sqlite3/build/Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/better-sqlite3/build/Release/obj.target/test_extension/deps/test_extension.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/better-sqlite3/build/Release/obj.target/better_sqlite3/src/better_sqlite3.o patchelf: wrong ELF type shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/better-sqlite3/build/Release/obj.target/test_extension.node shrinking /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/better-sqlite3/build/Release/test_extension.node checking for references to /build/ in /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b... patchelf: cannot find section '.dynamic'. The input file is most likely statically linked patchelf: wrong ELF type patchelf: wrong ELF type patchelf: wrong ELF type patchelf: cannot find section '.dynamic'. The input file is most likely statically linked patchelf: wrong ELF type patchelf: wrong ELF type patchelf: wrong ELF type patchelf: wrong ELF type patchelf: wrong ELF type patchelf: wrong ELF type patchelf: wrong ELF type patchelf: wrong ELF type patchelf: wrong ELF type patchelf: wrong ELF type patchelf: wrong ELF type patchelf: wrong ELF type patchelf: wrong ELF type patchelf: wrong ELF type patching script interpreter paths in /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/cursor-askpass: interpreter directive changed from "#!/bin/sh" to "/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/sh" /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/cursor-agent: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/bash" /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node_modules/better-sqlite3/deps/download.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/bash" stripping (with command strip and flags -S -p) in /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/bin wrapBuddy: wrapping paths: /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b Using interpreter: /nix/store/lm3pknxi0ipypy3lxh1wmm8wvvavdwrn-glibc-2.42-84/lib/ld-linux-x86-64.so.2 64-bit stub: 407 bytes 32-bit stub: 441 bytes Patching: /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node ELF class: 64-bit Original entry: 0xf87090 (file offset: 0xb87090) Available space at entry: 41397012 bytes Stub size: 407 bytes (padded to 416) Wrote config to /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/.node.wrapbuddy Overwrote 416 bytes at entry point Converted PT_INTERP to PT_NULL Patched: /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/node Patching: /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/cursor-agent-sea ELF class: 64-bit Original entry: 0xf87090 (file offset: 0xb87090) Available space at entry: 42438512 bytes Stub size: 407 bytes (padded to 416) Wrote config to /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/.cursor-agent-sea.wrapbuddy Overwrote 416 bytes at entry point Converted PT_INTERP to PT_NULL Patched: /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/cursor-agent-sea Patching: /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/cursor-agent-worker-sea ELF class: 64-bit Original entry: 0xf87090 (file offset: 0xb87090) Available space at entry: 42438512 bytes Stub size: 407 bytes (padded to 416) Wrote config to /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/.cursor-agent-worker-sea.wrapbuddy Overwrote 416 bytes at entry point Converted PT_INTERP to PT_NULL Patched: /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/share/cursor-agent/cursor-agent-worker-sea Running phase: installCheckPhase Executing versionCheckPhase Successfully managed to find version 2026.09.18-9a7762b in the output of the command /nix/store/k6rj4rg9lh07jzsr17b93s7nj4ymk7mw-cursor-agent-2026.09.18-9a7762b/bin/cursor-agent --version Cannot open directory /etc/ssl/certs to load OpenSSL certificates. 2026.09.18-9a7762b Finished versionCheckPhase no Makefile or custom installCheckPhase, doing nothing