diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-04-13 13:51:39 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-04-13 13:51:39 +0200 |
commit | b8e1eb71faea60d00c94f73c3a4312f1746b2cb8 (patch) | |
tree | 2f97bf833fdae267b16efd05eccbf8d48ddf6fe4 | |
parent | 621626209cf9bd9d7735c8b0345c56a7f705edb5 (diff) | |
download | nixos-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.nix | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 | ||