-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some strings can break manifest.nix #3989
Comments
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 NixOS#3989
There's indeed an issue in the way the I've opened #4012 nontheless to fix this |
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 NixOS#3989
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 NixOS#3989
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 NixOS#3989 (cherry picked from commit 250f8a4)
The description from
cargo-cache
seems to be breakingmanifest.nix
(when installed vianix-env
).Here is the relevant string:
"Manage cargo cache (\${CARGO_HOME}, ~/.cargo/), print sizes of dirs and remove dirs selectively";
This installs fine, and presents no issues when added to
systemPackages
on NixOS.Using
nix-env
, however, this breaks the manifest file.Here is the manifest of a user profile with only
cargo-cache
installed vianix-env
.Note that the description is not escaped in the manifest:
description = "Manage cargo cache (${CARGO_HOME}, ~/.cargo/), print sizes of dirs and remove dirs selectively";
As @cleverca22 mentioned on IRC:
I have seen similar weirdness with e.g.
nodePackages.@angular/cli
, and wanted to clarify whether this is an issue with the Nix parser or something that is being done improperly with this package.The text was updated successfully, but these errors were encountered: