Trying to use this tarball for the nixpkgs helix package but the build doesn't find the grammars. The 23.03 tarball build worked without requiring any configuration.
❯ nix-build -A helix
this derivation will be built:
/nix/store/8hdm2zia40ygpkw3xfz0hcx2s9ynqx3c-helix-23.05.drv
copying 0 paths...
building '/nix/store/8hdm2zia40ygpkw3xfz0hcx2s9ynqx3c-helix-23.05.drv'...
unpacking sources
unpacking source archive /nix/store/cphj7swlr4szwd1xqpiijn42i65w49iy-source
source root is source
Executing cargoSetupPostUnpackHook
unpacking source archive /nix/store/4z74fy2w6ay0xyqp3z5x4mwyypdr30hl-helix-23.05-vendor.tar.gz
Finished cargoSetupPostUnpackHook
patching sources
Executing cargoSetupPostPatchHook
Validating consistency between /build/source/Cargo.lock and /build/helix-23.05-vendor.tar.gz/Cargo.lock
Finished cargoSetupPostPatchHook
configuring
building
Executing cargoBuildHook
++ env CC_x86_64-unknown-linux-gnu=/nix/store/7wkshj58fcsl1f3zyi67qsxgl1p8nki1-gcc-wrapper-12.2.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/7wkshj58fcsl1f3zyi67qsxgl1p8nki1-gcc-wrapper-12.2.0/bin/c++ CC_x86_64-unknown-linux-gnu=/nix/store/7wkshj58fcsl1f3zyi67qsxgl1p8nki1-gcc-wrapper-12.2.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/7wkshj58fcsl1f3zyi67qsxgl1p8nki1-gcc-wrapper-12.2.0/bin/c++ cargo build -j 16 --target x86_64-unknown-linux-gnu --frozen --release
Compiling libc v0.2.144
Compiling proc-macro2 v1.0.56
Compiling autocfg v1.1.0
Compiling quote v1.0.26
Compiling unicode-ident v1.0.8
Compiling cfg-if v1.0.0
Compiling memchr v2.5.0
Compiling once_cell v1.17.1
Compiling version_check v0.9.4
Compiling thiserror v1.0.40
Compiling regex-automata v0.1.10
Compiling smallvec v1.10.0
Compiling io-lifetimes v1.0.10
Compiling log v0.4.17
Compiling serde v1.0.163
Compiling rustix v0.37.15
Compiling parking_lot_core v0.9.7
Compiling scopeguard v1.1.0
Compiling crc32fast v1.3.2
Compiling same-file v1.0.6
Compiling adler v1.0.2
Compiling hex v0.4.3
Compiling itoa v1.0.6
Compiling walkdir v2.3.3
Compiling miniz_oxide v0.6.2
Compiling bitflags v1.3.2
Compiling home v0.5.4
Compiling sha1_smol v1.0.0
Compiling prodash v23.1.2
Compiling ahash v0.7.6
Compiling num-traits v0.2.15
Compiling lock_api v0.4.9
Compiling time-core v0.1.0
Compiling linux-raw-sys v0.3.4
Compiling time-macros v0.2.8
Compiling ahash v0.8.3
Compiling num_threads v0.1.6
Compiling minimal-lexical v0.2.1
Compiling fastrand v1.9.0
Compiling indexmap v1.9.3
Compiling bstr v1.4.0
Compiling flate2 v1.0.25
Compiling nom v7.1.3
Compiling signal-hook v0.3.15
Compiling bitflags v2.2.1
Compiling syn v2.0.15
Compiling regex-syntax v0.7.1
Compiling cc v1.0.79
Compiling anyhow v1.0.71
Compiling aho-corasick v1.0.1
Compiling tinyvec_macros v0.1.1
Compiling helix-loader v0.6.0 (/build/source/helix-loader)
Compiling tinyvec v1.6.0
Compiling static_assertions v1.1.0
Compiling pin-project-lite v0.2.9
Compiling percent-encoding v2.2.0
Compiling unicode-bidi v0.3.13
Compiling futures-core v0.3.28
Compiling getrandom v0.2.9
Compiling signal-hook-registry v1.4.1
Compiling btoi v0.4.3
Compiling parking_lot v0.12.1
Compiling hashbrown v0.13.2
Compiling hashbrown v0.12.3
Compiling tree-sitter v0.20.10
Compiling time v0.3.20
Compiling memmap2 v0.5.10
Compiling num_cpus v1.15.0
Compiling unicode-normalization v0.1.22
Compiling mio v0.8.6
Compiling form_urlencoded v1.1.0
Compiling tokio v1.28.1
Compiling num-integer v0.1.45
Compiling encoding_rs v0.8.32
Compiling regex v1.8.1
Compiling idna v0.3.0
Compiling imara-diff v0.1.5
Compiling serde_json v1.0.96
Compiling winnow v0.4.1
Compiling socket2 v0.4.9
Compiling smartstring v1.0.1
Compiling slotmap v1.0.6
Compiling bytes v1.4.0
Compiling unicode-bom v2.0.2
Compiling unicode-general-category v0.6.0
Compiling arc-swap v1.6.0
Compiling tempfile v3.5.0
Compiling ryu v1.0.13
Compiling gix-tempfile v5.0.2
Compiling threadpool v1.8.1
Compiling gix-sec v0.8.0
Compiling slab v0.4.8
Compiling etcetera v0.8.0
Compiling libloading v0.8.0
Compiling iana-time-zone v0.1.56
Compiling unicode-width v0.1.10
Compiling smawk v0.3.1
Compiling futures-task v0.3.28
Compiling str_indices v0.4.1
Compiling chrono v0.4.24
Compiling ropey v1.6.0
Compiling filetime v0.2.21
Compiling kstring v2.0.0
Compiling gix-command v0.2.4
Compiling futures-util v0.3.28
Compiling dunce v1.0.4
Compiling unicode-segmentation v1.10.1
Compiling clru v0.6.1
Compiling io-close v0.3.7
Compiling unicode-linebreak v0.1.4
Compiling either v1.8.1
Compiling pin-utils v0.1.0
Compiling which v4.4.0
Compiling thiserror-impl v1.0.40
Compiling serde_derive v1.0.163
Compiling tokio-macros v2.1.0
Compiling serde_repr v0.1.12
Compiling gix-utils v0.1.1
Compiling signal-hook-mio v0.2.3
Compiling aho-corasick v0.7.20
Compiling unicase v2.6.0
Compiling thread_local v1.1.7
Compiling helix-parsec v0.6.0 (/build/source/helix-parsec)
Compiling crossterm v0.26.1
Compiling chardetng v0.1.17
Compiling grep-matcher v0.1.6
Compiling fnv v1.0.7
Compiling pulldown-cmark v0.9.2
Compiling globset v0.4.10
Compiling encoding_rs_io v0.1.7
Compiling termini v1.0.0
Compiling textwrap v0.16.0
Compiling lazy_static v1.4.0
Compiling bytecount v0.6.3
Compiling regex-syntax v0.6.29
Compiling cassowary v0.3.0
Compiling gix-hash v0.11.1
Compiling gix-date v0.5.0
Compiling gix-features v0.29.0
Compiling gix-actor v0.20.0
Compiling gix-path v0.8.0
Compiling gix-validate v0.7.4
Compiling gix-hashtable v0.2.0
Compiling gix-object v0.29.1
Compiling gix-lock v5.0.0
Compiling gix-glob v0.7.0
Compiling gix-fs v0.1.1
Compiling gix-config-value v0.12.0
Compiling gix-quote v0.4.3
Compiling gix-bitmap v0.2.3
Compiling gix-chunk v0.4.1
Compiling gix-attributes v0.12.0
Compiling gix-prompt v0.5.0
Compiling gix-ignore v0.2.0
Compiling gix-mailmap v0.12.0
Compiling gix-traverse v0.25.0
Compiling gix-diff v0.29.0
Compiling gix-ref v0.29.1
Compiling gix-revision v0.13.0
Compiling gix-pack v0.35.0
Compiling gix-index v0.16.0
Compiling futures-executor v0.3.28
Compiling grep-searcher v0.1.11
Compiling ignore v0.4.20
Compiling gix-refspec v0.10.1
Compiling grep-regex v0.1.11
Compiling fuzzy-matcher v0.3.7
Compiling content_inspector v0.2.4
Compiling fern v0.6.2
Compiling gix-worktree v0.17.0
Compiling gix-config v0.22.0
Compiling gix-discover v0.18.1
Compiling gix-odb v0.45.0
Compiling tokio-stream v0.1.14
Compiling signal-hook-tokio v0.3.1
Compiling serde_spanned v0.6.1
Compiling toml_datetime v0.6.1
Compiling url v2.3.1
Compiling toml_edit v0.19.8
Compiling gix-url v0.18.0
Compiling gix-credentials v0.14.0
Compiling gix v0.44.1
Compiling lsp-types v0.94.0
Compiling toml v0.7.3
Compiling helix-core v0.6.0 (/build/source/helix-core)
Compiling helix-term v0.6.0 (/build/source/helix-term)
error: failed to run custom build command for `helix-term v0.6.0 (/build/source/helix-term)`
Caused by:
process didn't exit successfully: `/build/source/target/release/build/helix-term-afa25b024cc51a49/build-script-build` (exit status: 101)
--- stdout
Fetching 148 grammars
Failure 1/148: rust No such file or directory (os error 2)
Failure 2/148: sway No such file or directory (os error 2)
Failure 3/148: elixir No such file or directory (os error 2)
Failure 4/148: fish No such file or directory (os error 2)
Failure 5/148: protobuf No such file or directory (os error 2)
Failure 6/148: c-sharp No such file or directory (os error 2)
Failure 7/148: awk No such file or directory (os error 2)
Failure 8/148: go No such file or directory (os error 2)
Failure 9/148: json No such file or directory (os error 2)
Failure 10/148: cpp No such file or directory (os error 2)
Failure 11/148: toml No such file or directory (os error 2)
Failure 12/148: typescript No such file or directory (os error 2)
Failure 13/148: html No such file or directory (os error 2)
Failure 14/148: python No such file or directory (os error 2)
Failure 15/148: nickel No such file or directory (os error 2)
Failure 16/148: nix No such file or directory (os error 2)
Failure 17/148: tsx No such file or directory (os error 2)
Failure 18/148: scss No such file or directory (os error 2)
Failure 19/148: css No such file or directory (os error 2)
Failure 20/148: php No such file or directory (os error 2)
Failure 21/148: ruby No such file or directory (os error 2)
Failure 22/148: bash No such file or directory (os error 2)
Failure 23/148: latex No such file or directory (os error 2)
Failure 24/148: lean No such file or directory (os error 2)
Failure 25/148: bibtex No such file or directory (os error 2)
Failure 26/148: twig No such file or directory (os error 2)
Failure 27/148: ocaml No such file or directory (os error 2)
Failure 28/148: ledger No such file or directory (os error 2)
Failure 29/148: beancount No such file or directory (os error 2)
Failure 30/148: julia No such file or directory (os error 2)
Failure 31/148: ocaml-interface No such file or directory (os error 2)
Failure 32/148: java No such file or directory (os error 2)
Failure 33/148: lua No such file or directory (os error 2)
Failure 34/148: zig No such file or directory (os error 2)
Failure 35/148: haskell No such file or directory (os error 2)
Failure 36/148: svelte No such file or directory (os error 2)
Failure 37/148: tsq No such file or directory (os error 2)
Failure 38/148: vue No such file or directory (os error 2)
Failure 39/148: yaml No such file or directory (os error 2)
Failure 40/148: make No such file or directory (os error 2)
Failure 41/148: gotmpl No such file or directory (os error 2)
Failure 42/148: cmake No such file or directory (os error 2)
Failure 43/148: javascript No such file or directory (os error 2)
Failure 44/148: gowork No such file or directory (os error 2)
Failure 45/148: glsl No such file or directory (os error 2)
Failure 46/148: llvm No such file or directory (os error 2)
Failure 47/148: perl No such file or directory (os error 2)
Failure 48/148: c No such file or directory (os error 2)
Failure 49/148: gomod No such file or directory (os error 2)
Failure 50/148: wgsl No such file or directory (os error 2)
Failure 51/148: tablegen No such file or directory (os error 2)
Failure 52/148: llvm-mir No such file or directory (os error 2)
Failure 53/148: comment No such file or directory (os error 2)
Failure 54/148: dart No such file or directory (os error 2)
Failure 55/148: dockerfile No such file or directory (os error 2)
Failure 56/148: markdown_inline No such file or directory (os error 2)
Failure 57/148: markdown No such file or directory (os error 2)
Failure 58/148: git-rebase No such file or directory (os error 2)
Failure 59/148: git-commit No such file or directory (os error 2)
Failure 60/148: scala No such file or directory (os error 2)
Failure 61/148: graphql No such file or directory (os error 2)
Failure 62/148: elm No such file or directory (os error 2)
Failure 63/148: diff No such file or directory (os error 2)
Failure 64/148: gitattributes No such file or directory (os error 2)
Failure 65/148: regex No such file or directory (os error 2)
Failure 66/148: iex No such file or directory (os error 2)
Failure 67/148: gitignore No such file or directory (os error 2)
Failure 68/148: kotlin No such file or directory (os error 2)
Failure 69/148: git-config No such file or directory (os error 2)
Failure 70/148: gleam No such file or directory (os error 2)
Failure 71/148: rescript No such file or directory (os error 2)
Failure 72/148: hcl No such file or directory (os error 2)
Failure 73/148: erlang No such file or directory (os error 2)
Failure 74/148: eex No such file or directory (os error 2)
Failure 75/148: robot No such file or directory (os error 2)
Failure 76/148: solidity No such file or directory (os error 2)
Failure 77/148: r No such file or directory (os error 2)
Failure 78/148: org No such file or directory (os error 2)
Failure 79/148: sql No such file or directory (os error 2)
Failure 80/148: swift No such file or directory (os error 2)
Failure 81/148: embedded-template No such file or directory (os error 2)
Failure 82/148: gdscript No such file or directory (os error 2)
Failure 83/148: devicetree No such file or directory (os error 2)
Failure 84/148: hare No such file or directory (os error 2)
Failure 85/148: cpon No such file or directory (os error 2)
Failure 86/148: odin No such file or directory (os error 2)
Failure 87/148: heex No such file or directory (os error 2)
Failure 88/148: godot-resource No such file or directory (os error 2)
Failure 89/148: nu No such file or directory (os error 2)
Failure 90/148: sshclientconfig No such file or directory (os error 2)
Failure 91/148: vala No such file or directory (os error 2)
Failure 92/148: verilog No such file or directory (os error 2)
Failure 93/148: scheme No such file or directory (os error 2)
Failure 94/148: v No such file or directory (os error 2)
Failure 95/148: fortran No such file or directory (os error 2)
Failure 96/148: jsdoc No such file or directory (os error 2)
Failure 97/148: edoc No such file or directory (os error 2)
Failure 98/148: cairo No such file or directory (os error 2)
Failure 99/148: meson No such file or directory (os error 2)
Failure 100/148: cue No such file or directory (os error 2)
Failure 101/148: clojure No such file or directory (os error 2)
Failure 102/148: ungrammar No such file or directory (os error 2)
Failure 103/148: dot No such file or directory (os error 2)
Failure 104/148: openscad No such file or directory (os error 2)
Failure 105/148: prisma No such file or directory (os error 2)
Failure 106/148: elvish No such file or directory (os error 2)
Failure 107/148: jsonnet No such file or directory (os error 2)
Failure 108/148: esdl No such file or directory (os error 2)
Failure 109/148: task No such file or directory (os error 2)
Failure 110/148: slint No such file or directory (os error 2)
Failure 111/148: xit No such file or directory (os error 2)
Failure 112/148: wast No such file or directory (os error 2)
Failure 113/148: pascal No such file or directory (os error 2)
Failure 114/148: astro No such file or directory (os error 2)
Failure 115/148: wat No such file or directory (os error 2)
Failure 116/148: sml No such file or directory (os error 2)
Failure 117/148: d No such file or directory (os error 2)
Failure 118/148: bass No such file or directory (os error 2)
Failure 119/148: ini No such file or directory (os error 2)
Failure 120/148: vhs No such file or directory (os error 2)
Failure 121/148: xml No such file or directory (os error 2)
Failure 122/148: dtd No such file or directory (os error 2)
Failure 123/148: kdl No such file or directory (os error 2)
Failure 124/148: qmljs No such file or directory (os error 2)
Failure 125/148: wit No such file or directory (os error 2)
Failure 126/148: bicep No such file or directory (os error 2)
Failure 127/148: ponylang No such file or directory (os error 2)
Failure 128/148: dhall No such file or directory (os error 2)
Failure 129/148: matlab No such file or directory (os error 2)
Failure 130/148: pem No such file or directory (os error 2)
Failure 131/148: rst No such file or directory (os error 2)
Failure 132/148: mermaid No such file or directory (os error 2)
Failure 133/148: yuck No such file or directory (os error 2)
Failure 134/148: prql No such file or directory (os error 2)
Failure 135/148: nasm No such file or directory (os error 2)
Failure 136/148: uxntal No such file or directory (os error 2)
Failure 137/148: po No such file or directory (os error 2)
Failure 138/148: passwd No such file or directory (os error 2)
Failure 139/148: hosts No such file or directory (os error 2)
Failure 140/148: capnp No such file or directory (os error 2)
Failure 141/148: rego No such file or directory (os error 2)
Failure 142/148: opencl No such file or directory (os error 2)
Failure 143/148: just No such file or directory (os error 2)
Failure 144/148: vhdl No such file or directory (os error 2)
Failure 145/148: smithy No such file or directory (os error 2)
Failure 146/148: hurl No such file or directory (os error 2)
Failure 147/148: markdoc No such file or directory (os error 2)
Failure 148/148: nim No such file or directory (os error 2)
--- stderr
thread 'main' panicked at 'Failed to fetch tree-sitter grammars: 148 grammars failed to fetch', helix-term/build.rs:5:26
Summary
https://github.com/helix-editor/helix/releases/download/23.05/helix-23.05-source.tar.xz
Trying to use this tarball for the nixpkgs helix package but the build doesn't find the grammars. The 23.03 tarball build worked without requiring any configuration.
Reproduction Steps
No response
Helix log
No response
Platform
linx/macos
Terminal Emulator
-
Helix Version
helix 23.05