hercules-ci / arion

Run docker-compose with help from Nix/NixOS
Apache License 2.0
667 stars 48 forks source link

Problem with easyOverlay: HTTP error 422 #178

Closed sweenu closed 1 year ago

sweenu commented 1 year ago

Updating arion, I got this error below. I'm guessing the problem comes from https://github.com/hercules-ci/arion/blob/935c32afa313197b62a3a1201e2cbeb14f16e428/flake.nix#L7 but I don't understand why I would be the only one facing this problem 🤔

❯ nix flake check --show-trace
error: unable to download 'https://api.github.com/repos/hercules-ci/flake-parts/commits/easyOverlay': HTTP error 422

       response body:

       {
         "message": "No commit found for SHA: easyOverlay",
         "documentation_url": "https://docs.github.com/rest/commits/commits#get-a-commit"
       }

       … while fetching the input 'github:hercules-ci/flake-parts/easyOverlay'

       … while updating the flake input 'arion/flake-parts'

       … while updating the flake input 'arion'

       … while updating the lock file of flake 'git+file:///home/sweenu/nixfiles'
roberth commented 1 year ago

I've merged the branch, so the /easyOverlay part isn't needed anymore. However, that shouldn't stop Nix from downloading flake-parts by its locked commit sha.