-
Notifications
You must be signed in to change notification settings - Fork 14
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
Struggling to use the readme - flake.lock: no such file or directory #101
Comments
p.s. - i think that might have been a git thing. git state was "dirty" although i dont know enough about nix+git to deal with that. i moved to a clean folder outside of any git repo for now and it was fine as a temporary solution and maybe i can figure out how the nix+git stuff should be managed later. now im getting an error (maybe its a mac/m1 thing)
|
Hi, thank you for reporting the issue. I think the problem is not the Mac (I'm testing on Mac and Linux), but the nix file from the template using an older zig development build that is not available for download anymore. Nix flakes require git. You don't have the files to be committed, but for nix to pick up your nix/lock files you need to run |
Hi Steffan, thanks for getting back to me and explaining - ill stay tuned for an update and try again.
…________________________________
From: Steffen Siering ***@***.***>
Sent: Thursday, February 6, 2025 3:27 PM
To: xataio/pgzx ***@***.***>
Cc: Saoirse Amarteifio ***@***.***>; Author ***@***.***>
Subject: Re: [xataio/pgzx] Struggling to use the readme - flake.lock: no such file or directory (Issue #101)
Hi, thank you for reporting the issue.
I think the problem is not the Mac (I'm testing on Mac and Linux), but the nix file from the template using an older zig development build that is not available for download anymore.
Will try to repair the issue by updating the projects dependency and fixing the template. Hope to have a fix soon.
Nix flakes require git. You don't have the files to be committed, but for nix to pick up your nix/lock files you need to run git add at least. Nix does ignore untracked files.
—
Reply to this email directly, view it on GitHub<#101 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BOYZ2NSPBBVMOQTYLIKRJHT2OPAURAVCNFSM6AAAAABVYM7RXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNBQHEZDKMJYGQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi
I just started today trying to follow the readme. I have not used Nix for many years and may well have screwed something up but i followed the advice in the Contributors section and used that installer you recommended.
When i try
At first i get what i think is an understandable error ".envrc is blocked. Run
direnv allow
to approve its content" -But when i direnv allow, it seems to get into a weird state where some files are not copied to my source??
While I realize this could be just because Im not familiar with Nix I'd appreciate any advice in case I dont resolve it after spending more hours.
Best,
Sirsh
The text was updated successfully, but these errors were encountered: