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

Lock on feature branch becomes invalid after merge #7555

Open
roberth opened this issue Jan 4, 2023 · 0 comments
Open

Lock on feature branch becomes invalid after merge #7555

roberth opened this issue Jan 4, 2023 · 0 comments
Labels

Comments

@roberth
Copy link
Member

roberth commented Jan 4, 2023

Describe the bug

This happened because...

Steps To Reproduce

  1. flake-parts had a feature branch
  2. arion used the feature branch
  3. the feature branch was merged
  4. nix is unable to download the feature branch (as reported in Problem with easyOverlay: HTTP error 422 hercules-ci/arion#178)

Expected behavior

  • Used the pinned commit sha
  • When running any of the nix flake lock update commands, warn that the branch is gone

nix-env --version output

Additional context

I'm aware that shas of rebased branches may or may not be downloadable, but the error message coming back from github clearly indicates that the branch could not be found.

Priorities

Add 👍 to issues you find important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant