summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-01-13 06:14:59 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2016-01-13 06:14:59 +0100
commit887ac853a0ce17e5f635c5268a7279f7c7d8ff6a (patch)
treeaad28585472eec5163b8b8198ace7bb81f0db8c5 /ymir.nix
parentc2b9840f484abb4c1be4db54b2c36b0398918713 (diff)
downloadnixos-887ac853a0ce17e5f635c5268a7279f7c7d8ff6a.tar
nixos-887ac853a0ce17e5f635c5268a7279f7c7d8ff6a.tar.gz
nixos-887ac853a0ce17e5f635c5268a7279f7c7d8ff6a.tar.bz2
nixos-887ac853a0ce17e5f635c5268a7279f7c7d8ff6a.tar.xz
nixos-887ac853a0ce17e5f635c5268a7279f7c7d8ff6a.zip
manual wrapping
Diffstat (limited to 'ymir.nix')
-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 };