1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 13:41:15 +02:00

Fix GC failures on bad store path names

It failed on names like '/nix/store/9ip48nkc9rfy0a4yaw98lp6gipqlib1a-'.
This commit is contained in:
Eelco Dolstra 2020-02-28 18:07:10 +01:00
parent 2e953b567e
commit 22a754c091
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
4 changed files with 35 additions and 29 deletions

View file

@ -281,6 +281,8 @@ public:
StorePath parseStorePath(std::string_view path) const;
std::optional<StorePath> maybeParseStorePath(std::string_view path) const;
std::string printStorePath(const StorePath & path) const;
// FIXME: remove