Skip to content

nix develop dies on me #45

@i-am-the-slime

Description

@i-am-the-slime

Hey! I just cloned this repo and ran nix develop.

The output was:

error: builder for '/nix/store/2cipm5d7ff35v52dwi13sdcm4rh9106w-protobuf-v28.2.drv' failed with exit code 127;
       last 25 log lines:
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/reflection/message_reserved_range.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/reflection/method_def.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/reflection/oneof_def.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/reflection/service_def.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/text/encode.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/text/internal/encode.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/text/options.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/util/def_to_proto.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/util/required_fields.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/wire/decode.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/wire/encode.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/wire/eps_copy_input_stream.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/wire/internal/decode_fast.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/wire/reader.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/include/upb/wire/types.h
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/lib/cmake/protobuf/protobuf-targets.cmake
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/lib/cmake/protobuf/protobuf-targets-release.cmake
       > -- Up-to-date: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/lib/cmake/protobuf
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/lib/cmake/protobuf/protobuf-module.cmake
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/lib/cmake/protobuf/protobuf-generate.cmake
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/lib/cmake/protobuf/protobuf-options.cmake
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/lib/cmake/protobuf/protobuf-config.cmake
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/lib/cmake/protobuf/protobuf-config-version.cmake
       > -- Installing: /nix/store/cqzxlgmgw7aan249yggjahncd4r7g2y3-protobuf-v28.2/lib/libgmock.a
       > /nix/store/h3sjynwq0s33d60f7r69bidiyb9ba0wl-stdenv-darwin/setup: line 131: patchelf: command not found
       For full logs, run 'nix log /nix/store/2cipm5d7ff35v52dwi13sdcm4rh9106w-protobuf-v28.2.drv'.
error: 1 dependencies of derivation '/nix/store/rm5k60d7k6k9fx9gwqcfaj4jyvjaq62z-purescript-protobuf-devshell-env.drv' failed to build

I'm not very familiar with nix, it sounds like I should add patchelf as a dependency somehow?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions