-
Notifications
You must be signed in to change notification settings - Fork 65
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
Error while updating the lock file of flake 'github:DeterminateSystems src/pages/start/3.nix-develop.mdx
#289
Comments
Uh oh! Unfortunately nix 2.17 has new attributes in the lock file that
has backwards compatibility issues. If you upgrade nix to 2.17, it
should fix it. You can do it like this:
sudo nix upgrade-nix --nix-store-paths-url
https://releases.nixos.org/nix/nix-2.17.0/fallback-paths.nix
Here’s more info: https://flakehub.com/docs#i-got-error-unsupported-
tarball-input-attribute-rev-what-does-this-error-mean
On September 10, 2023, GitHub ***@***.***> wrote:
Hi, it's my 2nd day learning about nix.
Quite honestly the nix space feels really daunting with the amount of
overwhelming information and contradictions in docs etc..
I was hoping this project would be a great start for complete newbies
like myself.
However on the page 3 I was supposed to run the command nix develop
"github:DeterminateSystems/zero-to-nix#example"
but the result was
error: … while updating the lock file of flake
'github:DeterminateSystems/zero-to-
nix/33bf4aa4e8dd22db397eadb7955c184697996706' error: unsupported
tarball input attribute 'rev'
MacOS nix version nix-2.16.1
—
Reply to this email directly, view it on GitHub
<#289>, or
unsubscribe <https://github.com/notifications/unsubscribe-
auth/AAASXLFY26SHZR6PVJJTGB3XZVYUTANCNFSM6AAAAAA4SAEMKE>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I tried to upgrade I suspect some MacOS system update broke nix, I did reinstall using the script from this project and the command started to work 🤷 |
Ack! I’ll take a look. I’m glad the uninstall / reinstall got it done,
but we’ll also research the upgrade problem. If you have any examples
those would be helpful :).
On September 10, 2023, GitHub ***@***.***> wrote:
I suspect some MacOS system update broke nix, I did reinstall using
the script from this project and the command started to work 🤷
—
Reply to this email directly, view it on GitHub
<https://github.com/DeterminateSystems/zero-to-
nix/issues/289#issuecomment-1712763687>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AAASXLG634I2QSQ4P3OUDGTXZWBMRANCNFSM6AAAAAA4SAEMKE>.
You are receiving this because you commented.Message ID:
***@***.***>
|
I suspect it may have to do something with any of these issues:
I went through the "normal" upgrade process
And it finished like this
I hope that the workaround mentioned here is enough to keep |
Hi, it's my 2nd day learning about nix.
Quite honestly the nix space feels really daunting with the amount of overwhelming information and contradictions in docs etc..
I was hoping this project would be a great start for complete newbies like myself.
However on the page 3 I was supposed to run the command
nix develop "github:DeterminateSystems/zero-to-nix#example"
but the result was
MacOS nix version
nix-2.16.1
The text was updated successfully, but these errors were encountered: