summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-04-13 13:51:39 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-04-13 13:51:39 +0200
commitb8e1eb71faea60d00c94f73c3a4312f1746b2cb8 (patch)
tree2f97bf833fdae267b16efd05eccbf8d48ddf6fe4
parent621626209cf9bd9d7735c8b0345c56a7f705edb5 (diff)
downloadnixos-b8e1eb71faea60d00c94f73c3a4312f1746b2cb8.tar
nixos-b8e1eb71faea60d00c94f73c3a4312f1746b2cb8.tar.gz
nixos-b8e1eb71faea60d00c94f73c3a4312f1746b2cb8.tar.bz2
nixos-b8e1eb71faea60d00c94f73c3a4312f1746b2cb8.tar.xz
nixos-b8e1eb71faea60d00c94f73c3a4312f1746b2cb8.zip
wrapper for cgit html converters
-rw-r--r--ymir.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index ee17e1b2..2b250bd6 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -65,7 +65,11 @@ in rec {
65 pkgs.python3 65 pkgs.python3
66 pkgs.makeWrapper 66 pkgs.makeWrapper
67 ]; 67 ];
68 postInstall = "wrapProgram $out/lib/cgit/filters/syntax-highlighting.py --prefix PYTHONPATH ':' ${pkgs.python3.buildEnv.override { extraLibs = with pkgs.python3Packages; [ pygments ]; }}/lib/*/site-packages"; 68 postInstall = ''
69 wrapProgram $out/lib/cgit/filters/syntax-highlighting.py --prefix PYTHONPATH ':' ${pkgs.python3.buildEnv.override { extraLibs = with pkgs.python3Packages; [ pygments ]; }}/lib/*/site-packages
70 wrapProgram $out/lib/cgit/filters/html-converters/md2html --prefix PYTHONPATH ':' ${pkgs.python3.buildEnv.override { extraLibs = with pkgs.python3Packages; [ markdown ]; }}/lib/*/site-packages
71 wrapProgram $out/lib/cgit/filters/html-converters/man2html --prefix PATH ':' ${pkgs.groff}/bin
72 '';
69 }); 73 });
70 }; 74 };
71 75