diff options
| -rw-r--r-- | ymir.nix | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -62,12 +62,11 @@ in rec { | |||
| 62 | buildInputs = oldAttrs.buildInputs ++ [ | 62 | buildInputs = oldAttrs.buildInputs ++ [ |
| 63 | pkgs.perl | 63 | pkgs.perl |
| 64 | pkgs.python2 | 64 | pkgs.python2 |
| 65 | pkgs.python2Packages.wrapPython | ||
| 66 | pkgs.makeWrapper | 65 | pkgs.makeWrapper |
| 67 | ]; | 66 | ]; |
| 68 | pythonPath = with pkgs.python2Packages ; [pygments]; | ||
| 69 | postInstall = '' | 67 | postInstall = '' |
| 70 | wrapPythonPrograms | 68 | wrapProgram $out/lib/cgit/filters/syntax-highlighting.py \ |
| 69 | --prefix PYTHONPATH ':' ${pkgs.python.buildEnv.override { extraLibs = [ pygments ]; }}/lib/*/site-packages | ||
| 71 | ''; | 70 | ''; |
| 72 | }); | 71 | }); |
| 73 | }; | 72 | }; |
