mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 09:49:36 +01:00
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
(cherry picked from commit 250f8a4bba)
This commit is contained in:
parent
63ba2fde50
commit
b2463d649c
3 changed files with 3 additions and 2 deletions
|
|
@ -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";
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue