Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: format is pinned to old nixpkgs which makes git not play well with certain configuration #5736

Open
2 tasks done
terlar opened this issue Aug 14, 2024 · 0 comments
Open
2 tasks done
Assignees
Labels
bug triage Issues or feature request that have not been triaged yet

Comments

@terlar
Copy link
Contributor

terlar commented Aug 14, 2024

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

Configure git to use branch.autosetupmerge: simple.

git config --global branch.autosetupmerge simple

Try to run ./format:

$ ./format
fatal: bad boolean config value 'simple' for 'branch.autosetupmerge'
fatal: bad boolean config value 'simple' for 'branch.autosetupmerge'
<stdin>:1:1:
  |
1 | <empty line>
  | ^
unexpected end of input
expecting expression

This is due to format installs git and pins to a 2 year old commit https://github.com/NixOS/nixpkgs/archive/6616de389ed55fba6eeba60377fc04732d5a207c.tar.gz. This version includes a git that does not support those configuration options.

Maintainer CC

No response

System information

- system: `"x86_64-linux"`
 - host os: `Linux 6.10.3, NixOS, 24.11 (Vicuna), 24.11.20240814.5a1fae6`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Lix, like Nix) 2.90.0`
 - channels(root): `"nixos-18.09.2574.a7e559a5504, nixpkgs-19.03pre160749.3a393eecafb"`
 - nixpkgs: `/nix/store/4x7w8l5rbmngv03rasgbl9cph0lydsbr-source`
@terlar terlar added bug triage Issues or feature request that have not been triaged yet labels Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issues or feature request that have not been triaged yet
Projects
None yet
Development

No branches or pull requests

4 participants