mirror of
https://github.com/NixOS/nix
synced 2025-06-29 23:13:14 +02:00
Fix devShell handling of env values including @ and %
This commit is contained in:
parent
f9d72855ae
commit
087c5f5325
2 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,7 @@ BuildEnvironment readEnvironment(const Path & path)
|
|||
R"re((?:[a-zA-Z_][a-zA-Z0-9_]*))re";
|
||||
|
||||
static std::string simpleStringRegex =
|
||||
R"re((?:[a-zA-Z0-9_/:\.\-\+=]*))re";
|
||||
R"re((?:[a-zA-Z0-9_/:\.\-\+=@%]*))re";
|
||||
|
||||
static std::string dquotedStringRegex =
|
||||
R"re((?:\$?"(?:[^"\\]|\\[$`"\\\n])*"))re";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue