summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/ymir.nix b/ymir.nix
index 7a514c01..0355540d 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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 };