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

nix flake check fails with unrecognizable error #12037

Open
2 tasks done
target-san opened this issue Dec 10, 2024 · 1 comment
Open
2 tasks done

nix flake check fails with unrecognizable error #12037

target-san opened this issue Dec 10, 2024 · 1 comment
Labels

Comments

@target-san
Copy link

Describe the bug

nix flake check --show-trace --no-build --all-systems --print-build-logs -vvvvv --debug reports unrecognizable error. End of most verbose logs:

2024-12-10T13:07:11.1005204Z checking flake output 'apps'...
2024-12-10T13:07:11.1149991Z download thread shutting down
2024-12-10T13:07:13.4659258Z this path will be fetched (0.72 MiB download, 4.61 MiB unpacked):
2024-12-10T13:07:13.4660028Z   /nix/store/dih9dknbvxvi11f5is21pckgnqxnd5pz-nixfmt-unstable-2024-08-16
2024-12-10T13:07:13.4669635Z copying path '/nix/store/dih9dknbvxvi11f5is21pckgnqxnd5pz-nixfmt-unstable-2024-08-16' from 'https://cache.nixos.org'...
2024-12-10T13:07:13.5469788Z <stdin>:1:1:
2024-12-10T13:07:13.5470128Z   |
2024-12-10T13:07:13.5470895Z 1 | <empty line>
2024-12-10T13:07:13.5471231Z   | ^
2024-12-10T13:07:13.5472988Z unexpected end of input
2024-12-10T13:07:13.5473742Z expecting expression
2024-12-10T13:07:13.5474034Z

Steps To Reproduce

Reproduced only on specific CI. My issue is more with inability to debug error.

Expected behavior

nix flake check reports exactly what file it failed to read and where and how it got that file

Metadata

nix (Nix) 2.25.3

Additional context

There are similar issues like #4903 yet error doesn't look the same

Checklist

@link2xt
Copy link
Contributor

link2xt commented Dec 14, 2024

I have nix fmt failing with

copying path '/nix/store/p2i9dd3fslfhsc593h2xfs4s75lzbpki-elfutils-0.191' from 'http://127.0.0.1:37515/'...
copying path '/nix/store/lnpz4yysm5srb6yls9inw281rv981p8q-nixfmt-unstable-2024-08-16' from 'http://127.0.0.1:37515/'...
<stdin>:1:1:
  |
1 | <empty line>
  | ^
unexpected end of input
expecting expression

at deltachat/deltachat-core-rust#6333

Maybe it is a https://github.com/NixOS/nixfmt bug.

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

2 participants