diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-04-13 13:34:15 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-04-13 13:34:15 +0200 |
commit | b627d2af5d00690857c06f413f6560caf30548d5 (patch) | |
tree | fc400daa1067027d9bf34c35c05ec15275fff7f8 | |
parent | bbd321b66cadce0071eb77f5423786bb2e8a7b93 (diff) | |
download | nixos-b627d2af5d00690857c06f413f6560caf30548d5.tar nixos-b627d2af5d00690857c06f413f6560caf30548d5.tar.gz nixos-b627d2af5d00690857c06f413f6560caf30548d5.tar.bz2 nixos-b627d2af5d00690857c06f413f6560caf30548d5.tar.xz nixos-b627d2af5d00690857c06f413f6560caf30548d5.zip |
switched cgit scripts to python3
-rw-r--r-- | ymir.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -62,10 +62,10 @@ in rec { | |||
62 | cgit = pkgs.stdenv.lib.overrideDerivation pkgs.cgit (oldAttrs : { | 62 | cgit = pkgs.stdenv.lib.overrideDerivation pkgs.cgit (oldAttrs : { |
63 | buildInputs = oldAttrs.buildInputs ++ [ | 63 | buildInputs = oldAttrs.buildInputs ++ [ |
64 | pkgs.perl | 64 | pkgs.perl |
65 | pkgs.python2 | 65 | pkgs.python3 |
66 | pkgs.makeWrapper | 66 | pkgs.makeWrapper |
67 | ]; | 67 | ]; |
68 | postInstall = "wrapProgram $out/lib/cgit/filters/syntax-highlighting.py --prefix PYTHONPATH ':' ${pkgs.python.buildEnv.override { extraLibs = with pkgs.python2Packages; [ pygments ]; }}/lib/*/site-packages"; | 68 | postInstall = "wrapProgram $out/lib/cgit/filters/syntax-highlighting.py --prefix PYTHONPATH ':' ${pkgs.python.buildEnv.override { extraLibs = with pkgs.python3Packages; [ pygments ]; }}/lib/*/site-packages"; |
69 | }); | 69 | }); |
70 | }; | 70 | }; |
71 | 71 | ||