diff options
-rw-r--r-- | ymir.nix | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -70,7 +70,8 @@ in rec { | |||
70 | in '' | 70 | in '' |
71 | wrapProgram $out/lib/cgit/filters/syntax-highlighting.py --prefix PYTHONPATH ':' ${pythonEnv}/lib/*/site-packages | 71 | wrapProgram $out/lib/cgit/filters/syntax-highlighting.py --prefix PYTHONPATH ':' ${pythonEnv}/lib/*/site-packages |
72 | tmpFile=$(mktemp) | 72 | tmpFile=$(mktemp) |
73 | echo "\#\!${pythonEnv}/bin/python3" >$tmpFile | 73 | chmod +x $tmpFile |
74 | echo "#!${pythonEnv}/bin/python3" >$tmpFile | ||
74 | tail -n +2 $out/lib/cgit/filters/html-converters/md2html >>$tmpFile | 75 | tail -n +2 $out/lib/cgit/filters/html-converters/md2html >>$tmpFile |
75 | mv -v $tmpFile $out/lib/cgit/filters/html-converters/md2html | 76 | mv -v $tmpFile $out/lib/cgit/filters/html-converters/md2html |
76 | wrapProgram $out/lib/cgit/filters/html-converters/md2html --prefix PYTHONPATH ':' ${pythonEnv}/lib/*/site-packages | 77 | wrapProgram $out/lib/cgit/filters/html-converters/md2html --prefix PYTHONPATH ':' ${pythonEnv}/lib/*/site-packages |