summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-04-13 13:34:15 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-04-13 13:34:15 +0200
commitb627d2af5d00690857c06f413f6560caf30548d5 (patch)
treefc400daa1067027d9bf34c35c05ec15275fff7f8
parentbbd321b66cadce0071eb77f5423786bb2e8a7b93 (diff)
downloadnixos-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.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/ymir.nix b/ymir.nix
index 79e5a41e..dac96cd5 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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