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
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
nix flake init -t github:xataio/pgzx
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??
direnv: using flake
cat: flake.lock: No such file or directory
cat: flake.lock: No such file or directory
error: path '/nix/store/7sbak9b9lzq1cyp9vwskrrh13n4w14lr-source/TEST/E1/flake.nix' does not exist
cat: flake.lock: No such file or directory
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:
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)
• Added input 'pgzx/zls/zig-overlay':
follows 'pgzx/zig-overlay'
error: builder for '/nix/store/xfhj5y6a2misdqygxvxiarprbmqakirp-zig-macos-aarch64-0.14.0-dev.1816+20e03beae.tar.xz.drv' failed with exit code 1;
last 7 log lines:
>
> trying https://ziglang.org/builds/zig-macos-aarch64-0.14.0-dev.1816+20e03beae.tar.xz
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 0 153 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
> curl: (22) The requested URL returned error: 404
> error: cannot download zig-macos-aarch64-0.14.0-dev.1816+20e03beae.tar.xz from any mirror
For full logs, run 'nix log /nix/store/xfhj5y6a2misdqygxvxiarprbmqakirp-zig-macos-aarch64-0.14.0-dev.1816+20e03beae.tar.xz.drv'.
error: 1 dependencies of derivation '/nix/store/k5s60sdxia0azayjb44y1ias2f6sfk0y-zig-0.14.0-dev.1816+20e03beae.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ss2vid9nmz4fab34a601ijm4m2vpwl5p-nix-shell-env.drv' failed to build
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: