Skip to content

Nix crashes when unpacking Helix dependencies into git cache #319

@adamjhf

Description

@adamjhf

Describe the bug

Determinate Nix crashes when unpacking Helix dependencies into git cache:

...
unpacking 'github:tingerrr/tree-sitter-doxyfile/18e44c6da639632a4e42264c7193df34be915f34' into the Git cache
unpacking 'github:KMikeeU/tree-sitter-dtd/6116becb02a6b8e9588ef73d300a9ba4622e156f' into the Git cache
unpacking 'github:rotmh/tree-sitter-dunstrc/9cb9d5cc51cf5e2a47bb2a0e2f2e519ff11c1431' into the Git cache
unpacking 'github:glehmann/tree-sitter-earthfile/dbfb970a59cd87b628d087eb8e3fbe19c8e20601' into the Git cache
unpacking 'github:the-mikedavis/tree-sitter-edoc/74774af7b45dd9cefbf9510328fc6ff2374afc50' into the Git cache
unpacking 'github:connorlay/tree-sitter-eex/f742f2fe327463335e8671a87c0b9b396905d1d1' into the Git cache
unpacking 'github:imustafin/tree-sitter-eiffel/d934fb44f1d22bb76be6b56a7b2425ab3b1daf8b' into the Git cache
unpacking 'github:Wilfred/tree-sitter-elisp/e5524fdccf8c22fc726474a910e4ade976dfc7bb' into the Git cache
Determinate Nix crashed. This is a bug. Please report this at https://github.com/DeterminateSystems/nix-src/issues with the following information included:

Exception: nix::Interrupted: error: interrupted by the user
Stack trace:
 0# nix::(anonymous namespace)::onTerminate() in /nix/store/qc63grfs20rfi9gr749jvyy93zjsrsm0-determinate-nix-3.15.1/bin/nix
 1# std::__terminate(void (*)()) in /nix/store/sg5gfy9cj0991jbd4xfyrl21rmqib9r2-libcxx-19.1.7/lib/libc++abi.1.0.dylib
 2# __cxa_rethrow in /nix/store/sg5gfy9cj0991jbd4xfyrl21rmqib9r2-libcxx-19.1.7/lib/libc++abi.1.0.dylib
 3# nix::ignoreExceptionExceptInterrupt(nix::Verbosity) in /nix/store/kk1wp2y0qdhmb5ggqrjag8hbdcf7q0p8-determinate-nix-util-3.15.1/lib/libnixutil.2.33.0.dylib
 4# nix::JSONLogger::write(nlohmann::json_abi_v3_11_3::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>, void> const&) in /nix/store/kk1wp2y0qdhmb5ggqrjag8hbdcf7q0p8-determinate-nix-util-3.15.1/lib/libnixutil.2.33.0.dylib
 5# nix::JSONLogger::log(nix::Verbosity, std::__1::basic_string_view<char, std::__1::char_traits<char>>) in /nix/store/kk1wp2y0qdhmb5ggqrjag8hbdcf7q0p8-determinate-nix-util-3.15.1/lib/libnixutil.2.33.0.dylib
 6# nix::ignoreExceptionExceptInterrupt(nix::Verbosity) in /nix/store/kk1wp2y0qdhmb5ggqrjag8hbdcf7q0p8-determinate-nix-util-3.15.1/lib/libnixutil.2.33.0.dylib
 7# nix::ThreadPool::doWork(bool) in /nix/store/kk1wp2y0qdhmb5ggqrjag8hbdcf7q0p8-determinate-nix-util-3.15.1/lib/libnixutil.2.33.0.dylib
 8# void* std::__1::__thread_proxy[abi:fe190107]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void (nix::ThreadPool::*)(bool), nix::ThreadPool*, bool>>(void*) in /nix/store/kk1wp2y0qdhmb5ggqrjag8hbdcf7q0p8-determinate-nix-util-3.15.1/lib/libnixutil.2.33.0.dylib
 9# _pthread_start in /usr/lib/system/libsystem_pthread.dylib

Steps To Reproduce

  1. Clone this repository: https://github.com/helix-editor/helix
  2. Run nix build .

Expected behavior

Build is successful

Metadata

nix (Determinate Nix 3.15.1) 2.33.0

Additional context

Running nix-darwin on Apple Silicon. Encounter error when building nix-darwin with Helix input. Workaround to keep rerunning until it gets through all the Helix dependencies.

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions