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

om ci fails on flakes with nixConfig in latest Nix #342

Closed
Tracked by #204
srid opened this issue Nov 11, 2024 · 3 comments
Closed
Tracked by #204

om ci fails on flakes with nixConfig in latest Nix #342

srid opened this issue Nov 11, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@srid
Copy link
Member

srid commented Nov 11, 2024

Trigger:

https://github.com/srid/emanote/blob/0062302c7580233595d02e0fd9d72a09139cfab4/flake.nix#L3-L6

Bug

om ci will fail with

do you want to allow configuration setting 'extra-substituters' to be set to 'https://cache.garnix.io' (y/N)error: unexpected EOF reading a line
Error: nix flake lock failed to run (exited: 1)

image

@srid srid added the bug Something isn't working label Nov 11, 2024
@srid
Copy link
Member Author

srid commented Nov 11, 2024

This appears to be a regression in recent versions of Nix, as I cannot reproduce it with 2.18:

image

@srid srid changed the title om ci: error unexpected EOF reading a line on flakes with nixConfig om ci fails on flakes with nixConfig in latest Nix Nov 11, 2024
@srid srid mentioned this issue Nov 13, 2024
15 tasks
@srid
Copy link
Member Author

srid commented Nov 13, 2024

With #344

om ci --accept-flake-config run

It is still prompting:

image

@srid
Copy link
Member Author

srid commented Nov 13, 2024

Since it is no longer failing, I'll close this. The forced prompt seems to be an issue with upstream.

@srid srid closed this as completed Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant