aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorMichael Fellinger <michael.fellinger@iohk.io>2021-07-05 12:00:08 +0200
committerMichael Fellinger <michael.fellinger@iohk.io>2021-07-05 12:05:06 +0200
commit087c5f5325c46485a9bc5f8e7f2620af6bf6bf56 (patch)
treeac8a54502f3918e9bc9c8847f5f58e597a46bb96 /src/nix
parentf9d72855ae8878cdd3f892674c29dc1fc7616cbc (diff)
Fix devShell handling of env values including @ and %
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/develop.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/develop.cc b/src/nix/develop.cc
index 6c089469d..699ec0b99 100644
--- a/src/nix/develop.cc
+++ b/src/nix/develop.cc
@@ -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";