diff --git a/src/libcmd/installables.cc b/src/libcmd/installables.cc index 3ad25073e..3b2c9585a 100644 --- a/src/libcmd/installables.cc +++ b/src/libcmd/installables.cc @@ -24,7 +24,7 @@ namespace nix { const static std::regex attrPathRegex( - R"((?:[a-zA-Z0-9_"-][a-zA-Z0-9_".,^-]*))", + R"((?:[a-zA-Z0-9_"-][a-zA-Z0-9_".,^\*-]*))", std::regex::ECMAScript); void completeFlakeInputPath(