You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running nix flake clone on a remote flake with a dir parameter fails with
fatal: remote error:
is not a valid repository name
Steps To Reproduce
nix flake clone git+ssh://[email protected]/NixOS/nix?dir=tests/functional/ca/flake.nix --dest test is a simple way to reproduce it. I actually ran into this running nixos-rebuild switch with my personal github repo, but the error message is the same. If you remove the dir parameter, the command works as expected
Expected behavior
This used to work and successfully clone the repo.
Metadata
nix-env (Nix) 2.24.12
Additional context
I tried bisecting this myself on the 2.24-maintenance branch. It seems like it started failing in 6e44bc2
Describe the bug
Running
nix flake clone
on a remote flake with adir
parameter fails withSteps To Reproduce
nix flake clone git+ssh://[email protected]/NixOS/nix?dir=tests/functional/ca/flake.nix --dest test
is a simple way to reproduce it. I actually ran into this runningnixos-rebuild switch
with my personal github repo, but the error message is the same. If you remove thedir
parameter, the command works as expectedExpected behavior
This used to work and successfully clone the repo.
Metadata
nix-env (Nix) 2.24.12
Additional context
I tried bisecting this myself on the 2.24-maintenance branch. It seems like it started failing in 6e44bc2
Checklist
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: