From 14471872916d71eddc4524c6785418c134816cfe Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 13 Apr 2016 14:41:50 +0200 Subject: less fancy syntax --- ymir.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ymir.nix b/ymir.nix index 47ab2859..5de0134c 100644 --- a/ymir.nix +++ b/ymir.nix @@ -70,7 +70,8 @@ in rec { in '' wrapProgram $out/lib/cgit/filters/syntax-highlighting.py --prefix PYTHONPATH ':' ${pythonEnv}/lib/*/site-packages tmpFile=$(mktemp) - { echo "\#\!${pythonEnv}/bin/python3"; tail -n +2 $out/lib/cgit/filters/html-converters/md2html } > $tmpFile + echo "\#\!${pythonEnv}/bin/python3" >$tmpFile + tail -n +2 $out/lib/cgit/filters/html-converters/md2html >>$tmpFile mv -v $tmpFile $out/lib/cgit/filters/html-converters/md2html wrapProgram $out/lib/cgit/filters/html-converters/md2html --prefix PYTHONPATH ':' ${pythonEnv}/lib/*/site-packages wrapProgram $out/lib/cgit/filters/html-converters/man2html --prefix PATH ':' ${pkgs.groff}/bin -- cgit v1.2.3