Skip to content

Comments

Don’t create lockfiles with an invalid path name#5203

Merged
edolstra merged 1 commit intomasterfrom
fix-invalid-lockfile-names
Sep 2, 2021
Merged

Don’t create lockfiles with an invalid path name#5203
edolstra merged 1 commit intomasterfrom
fix-invalid-lockfile-names

Conversation

@thufschmitt
Copy link
Member

Store paths are only allowed to contain a limited subset of the
alphabet, which doesn’t include !. So don’t create lockfiles that
contain this ! character as that would otherwise confuse (and break)
the gc.

Fix #5176

Store paths are only allowed to contain a limited subset of the
alphabet, which doesn’t include `!`. So don’t create lockfiles that
contain this `!` character as that would otherwise confuse (and break)
the gc.

Fix #5176
@thufschmitt thufschmitt added the ca-derivations Derivations with content addressed outputs label Sep 2, 2021
@edolstra edolstra merged commit 77ca5e9 into master Sep 2, 2021
@edolstra edolstra deleted the fix-invalid-lockfile-names branch September 2, 2021 09:03
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/tweag-nix-dev-update-17/15037/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ca-derivations Derivations with content addressed outputs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot collect garbage: store path contains illegal character '!'

3 participants