about summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2019-09-16 22:15:21 +0000
committervolth <volth@volth.com>2019-09-16 22:15:38 +0000
commit8276314608e4a253b65cc72d29fef36935f52e02 (patch)
tree951bbafd2237d8b8795837a9a3f93d651262ac1a /pkgs/tools/typesetting
parentb9ed9c7fed0d1aeae42ac382d6fefff65563e81d (diff)
downloadnixlib-8276314608e4a253b65cc72d29fef36935f52e02.tar
nixlib-8276314608e4a253b65cc72d29fef36935f52e02.tar.gz
nixlib-8276314608e4a253b65cc72d29fef36935f52e02.tar.bz2
nixlib-8276314608e4a253b65cc72d29fef36935f52e02.tar.lz
nixlib-8276314608e4a253b65cc72d29fef36935f52e02.tar.xz
nixlib-8276314608e4a253b65cc72d29fef36935f52e02.tar.zst
nixlib-8276314608e4a253b65cc72d29fef36935f52e02.zip
treewide: fix string escapes
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/tex/texlive/combine.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/combine.nix b/pkgs/tools/typesetting/tex/texlive/combine.nix
index 69fde7784f59..6622a03decc5 100644
--- a/pkgs/tools/typesetting/tex/texlive/combine.nix
+++ b/pkgs/tools/typesetting/tex/texlive/combine.nix
@@ -136,9 +136,9 @@ in buildEnv {
     script =
       writeText "hyphens.sed" (
         # pick up the header
-        "1,/^\% from/p;"
+        "1,/^% from/p;"
         # pick up all sections matching packages that we combine
-        + lib.concatMapStrings (pname: "/^\% from ${pname}:$/,/^\%/p;\n") pnames
+        + lib.concatMapStrings (pname: "/^% from ${pname}:$/,/^%/p;\n") pnames
       );
   in ''
     (