Repository navigation
framework-tool-tui: add missing build input libgit2 - #585577
Merged
Merged
Conversation
```text warning: [email protected]+1.9.2: failed to probe system libgit2: error: failed to run custom build command for `libgit2-sys v0.18.3+1.9.2` Caused by: process didn't exit successfully: `/build/source/target/release/build/libgit2-sys-0ec956c3b4848eba/build-script-build` (exit status: 101) --- stdout cargo:rustc-check-cfg=cfg(libgit2_vendored,) cargo:rerun-if-env-changed=LIBGIT2_NO_VENDOR cargo:rerun-if-env-changed=LIBGIT2_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=LIBGIT2_STATIC cargo:rerun-if-env-changed=LIBGIT2_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:warning=failed to probe system libgit2: pkg-config exited with status code 1 > PKG_CONFIG_PATH=/nix/store/kwas12i61rk5d6ilfz9hiala1fawjs2r-systemd-minimal-libs-262-dev/lib/pkgconfig:/nix/store/kwas12i61rk5d6ilfz9hiala1fawjs2r-systemd-minimal-libs-262-dev/share/pkg> The system library `libgit2` required by crate `libgit2-sys` was not found. The file `libgit2.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory. PKG_CONFIG_PATH contains the following: - /nix/store/kwas12i61rk5d6ilfz9hiala1fawjs2r-systemd-minimal-libs-262-dev/lib/pkgconfig - /nix/store/kwas12i61rk5d6ilfz9hiala1fawjs2r-systemd-minimal-libs-262-dev/share/pkgconfig HINT: you may need to install a package such as libgit2, libgit2-dev or libgit2-devel. --- stderr thread 'main' (2035) panicked at /build/framework-tool-tui-0.8.6-vendor/source-registry-0/libgit2-sys-0.18.3+1.9.2/build.rs:45:13: The environment variable `LIBGIT2_NO_VENDOR` has been set but no compatible system libgit2 could be found. The build is now aborting. To disable, unset the variable or use `LIBGIT2_NO_VENDOR=0`. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ```
4 of 13 tasks
flexiondotorg
added a commit
to wimpysworld/nix-config
that referenced
this pull request
Nov 10, 2026
The Cargo setup hook now sets LIBGIT2_NO_VENDOR, so libgit2-sys no longer builds its bundled copy and the unstable package fails without libgit2 in buildInputs. Remove the override once NixOS/nixpkgs#585577 reaches nixos-unstable.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.