summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/shell.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-10-01 14:29:53 +0200
committertv <tv@shackspace.de>2015-10-01 14:29:53 +0200
commit3384dd0a5578cc3a26dd076669dd264f5ae9f008 (patch)
tree444be6d694f43ee31e9055629c373459033dfb84 /krebs/4lib/shell.nix
parent2ef889b1c409ac8d83cabb8d12d564ae5a89d47d (diff)
krebs lib.shell.escape: add safe chars: +:=
Diffstat (limited to 'krebs/4lib/shell.nix')
-rw-r--r--krebs/4lib/shell.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/4lib/shell.nix b/krebs/4lib/shell.nix
index 2a6da5c16..5910adacc 100644
--- a/krebs/4lib/shell.nix
+++ b/krebs/4lib/shell.nix
@@ -6,7 +6,7 @@ with lib;
rec {
escape =
let
- isSafeChar = c: match "[-./0-9_a-zA-Z]" c != null;
+ isSafeChar = c: match "[-+./0-9:=A-Z_a-z]" c != null;
in
stringAsChars (c:
if isSafeChar c then c