diff options
author | Jade Lovelace <lix@jade.fyi> | 2024-07-31 14:18:31 -0700 |
---|---|---|
committer | Jade Lovelace <lix@jade.fyi> | 2024-07-31 23:23:42 -0700 |
commit | e6fc3e9227f6100800a64f93d87f03029e131db8 (patch) | |
tree | 46b4c524a3839967930d3756bceb7ae28a813615 /flake.nix | |
parent | a3ab2cc78a736109435f3cc8e1364fcc366c6c97 (diff) |
flake: remove control character from file by using fromJSON
I was reminded by various evil things puck did to the evaluator
involving null bytes that you can get funny bytes by abusing JSON
parsing. It's neater than putting binary in the source file, so let's do
it.
Change-Id: I1ff2e0d829eb303fbed81fa2ebb3a39412e89ff1
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ # This notice gets echoed as a dev shell hook, and can be turned off with # `touch .nocontribmsg` - sgr = ''[''; + sgr = builtins.fromJSON ''"\u001b["''; freezePage = "https://wiki.lix.systems/books/lix-contributors/page/freezes-and-recommended-contributions"; codebaseOverview = "https://wiki.lix.systems/books/lix-contributors/page/codebase-overview"; contribNotice = builtins.toFile "lix-contrib-notice" '' |