error: unsupported Git input attribute 'dir' #419

Open
opened 2024-06-25 19:06:18 +00:00 by mweinelt · 4 comments
Member

Describe the bug

Entering a flake devshell in nixos/infra, e.g. https://github.com/NixOS/infra/tree/master/build or https://github.com/NixOS/infra/tree/master/non-critical-infra results in the following error:

$ nix develop
error: unsupported Git input attribute 'dir'

Steps To Reproduce

cd $(mktemp -d)
git clone https://github.com/nixos/infra
cd infra/build
nix develop

Expected behavior

Entering the devshell

nix --version output

nix (Lix, like Nix) 2.91.0-dev-pre20240624-d86009b

Additional context

Works with nix 2.18.2

## Describe the bug Entering a flake devshell in nixos/infra, e.g. https://github.com/NixOS/infra/tree/master/build or https://github.com/NixOS/infra/tree/master/non-critical-infra results in the following error: ``` $ nix develop error: unsupported Git input attribute 'dir' ``` ## Steps To Reproduce ``` cd $(mktemp -d) git clone https://github.com/nixos/infra cd infra/build nix develop ``` ## Expected behavior Entering the devshell ## `nix --version` output ``` nix (Lix, like Nix) 2.91.0-dev-pre20240624-d86009b ``` ## Additional context Works with nix 2.18.2
mweinelt added the
bug
label 2024-06-25 19:06:18 +00:00
Owner
probably broken by https://gerrit.lix.systems/c/lix/+/1102 (reverted in https://gerrit.lix.systems/c/lix/+/1523).
Member

Fallout from https://gerrit.lix.systems/c/lix/+/1102. Should be fixed on master. Self-assigning because I'd like to sort out what has happened here when redoing the change.

EDIT: sorry pennae, your comment didn't appear until after I wrote mine 🙈

Fallout from https://gerrit.lix.systems/c/lix/+/1102. Should be fixed on master. Self-assigning because I'd like to sort out what has happened here when redoing the change. EDIT: sorry pennae, your comment didn't appear until after I wrote mine 🙈
ma27 self-assigned this 2024-06-25 19:38:33 +00:00
Author
Member

Can confirm it works on

nix (Lix, like Nix) 2.91.0-dev-pre20240625-c097ebe
Can confirm it works on ``` nix (Lix, like Nix) 2.91.0-dev-pre20240625-c097ebe ```
Owner

oh awesome, thanks for finding a working reproducer through the cli! i submitted the revert last night.

oh awesome, thanks for finding a working reproducer through the cli! i submitted the revert last night.
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#419
No description provided.