diff options
author | regnat <rg@regnat.ovh> | 2020-09-14 17:19:25 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2020-09-14 17:19:25 +0200 |
commit | 250f8a4bbae2aeafd3fa3e637b52fbbb59a7a8e0 (patch) | |
tree | b45f60c62363cc4ddf44ddb2a53b3388ef55e3ba /tests/user-envs.nix | |
parent | a59e77d9e54e8e7bf0f3c3f40c22cd34b7a81225 (diff) |
Escape `${` in strings when printing Nix expressions
Otherwise the result of the printing can't be parsed back correctly by
Nix (because the unescaped `${` will be parsed as the begining of an
anti-quotation).
Fix #3989
Diffstat (limited to 'tests/user-envs.nix')
-rw-r--r-- | tests/user-envs.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/user-envs.nix b/tests/user-envs.nix index 1aa410cc9..43eff1a68 100644 --- a/tests/user-envs.nix +++ b/tests/user-envs.nix @@ -13,7 +13,7 @@ let builder = ./user-envs.builder.sh; } // { meta = { - description = "A silly test package"; + description = "A silly test package with some \${escaped anti-quotation} in it"; }; }); |