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

Revert "StorePath: reject names starting with '.'"

This reverts commit 24bda0c7b3.
This commit is contained in:
Robert Hensing 2024-01-27 11:18:03 +01:00 committed by Théophane Hufschmitt
parent d137077271
commit 379274fd7f
4 changed files with 3 additions and 10 deletions

View file

@ -3,6 +3,6 @@
namespace nix {
static constexpr std::string_view nameRegexStr = R"([0-9a-zA-Z\+\-_\?=][0-9a-zA-Z\+\-\._\?=]*)";
static constexpr std::string_view nameRegexStr = R"([0-9a-zA-Z\+\-\._\?=]+)";
}