diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-13 06:14:59 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-13 06:14:59 +0100 |
commit | 887ac853a0ce17e5f635c5268a7279f7c7d8ff6a (patch) | |
tree | aad28585472eec5163b8b8198ace7bb81f0db8c5 /ymir.nix | |
parent | c2b9840f484abb4c1be4db54b2c36b0398918713 (diff) | |
download | nixos-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.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 | }; |