NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
12.27k stars 1.48k forks source link

string interpolation escape example #10966

Closed alicebob closed 3 months ago

alicebob commented 3 months ago

Make it easier to find the documentation, and the example might be enough for most cases.

Motivation

Discussion is in a discourse thread, where I couldn't find the relevant documentation, also because examples linked to the page edited in this PR, which didn't include the info:

https://discourse.nixos.org/t/avoid-string-interpolation-nix/30772

Thanks to @fricklerhandwerk for support :)

nixos-discourse commented 3 months ago

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/avoid-string-interpolation-nix/30772/13

fricklerhandwerk commented 3 months ago

Thanks a lot @alicebob! This is getting us closer to https://github.com/NixOS/nix/issues/7259