summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index 5de0134c..ddfdfa0d 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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