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
the special pull/N/{head,merge} refrences that github creates for each pull request can only be used with github: flakes, not git+http://github.com flakes.
fatal: couldn't find remote ref refs/heads/pull/303399/merge
error:
… while fetching the input 'git+https://github.com/NixOS/nixpkgs?ref=pull/303399/merge'
error: program 'git' failed with exit code 128
Expected behavior
the command should succeed.
nix-env --version output
nix-env (Nix) 2.18.1
Additional context
this could cause problems for programs that want to act generically on git repositories, having to special case github to not use git+http adds unnecessary complexity.
Describe the bug
the special pull/N/{head,merge} refrences that github creates for each pull request can only be used with
github:
flakes, notgit+http://github.com
flakes.Steps To Reproduce
nix build 'git+https://github.com/NixOS/nixpkgs?ref=pull/303399/merge#cargo-shear'
Expected behavior
the command should succeed.
nix-env --version
outputnix-env (Nix) 2.18.1
Additional context
this could cause problems for programs that want to act generically on git repositories, having to special case github to not use
git+http
adds unnecessary complexity.Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: