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

cannot write modified lock file of flake 'flake:std' #325

Open
montchr opened this issue Jun 30, 2023 · 1 comment
Open

cannot write modified lock file of flake 'flake:std' #325

montchr opened this issue Jun 30, 2023 · 1 comment

Comments

@montchr
Copy link
Contributor

montchr commented Jun 30, 2023

nf update std --show-trace
warning: input 'devshell' has an override for a non-existent input 'flake-utils'
error: cannot write modified lock file of flake 'flake:std' (use '--no-write-lock-file' to ignore)

       … while updating the lock file of flake 'path:/nix/store/i25jck8di1rclw7dlbybm8yf08x485s2-source?lastModified=1686890041&narHash=sha256-yLucgr7q8o63yJHLd5b5rF%2fh27ktYTQrn9rYxVxrs3E=&rev=8671b6892e45d795d7409940750832d68c929dcf'
@blaggacao
Copy link
Collaborator

blaggacao commented Jun 30, 2023

This is actually a well-known change in numtide/devshell inputs, which dropped flake-utils.

You may watch out for this pattern follows = "flake-utils"; or follows = "std/flake-utils"; or similar and drop it.

Standard itself does not bundle-load devshell anymore.

Do you have more context on where devshell is defined?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants