From b627d2af5d00690857c06f413f6560caf30548d5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 13 Apr 2016 13:34:15 +0200 Subject: switched cgit scripts to python3 --- ymir.nix | 4 ++-- 1 file 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 { cgit = pkgs.stdenv.lib.overrideDerivation pkgs.cgit (oldAttrs : { buildInputs = oldAttrs.buildInputs ++ [ pkgs.perl - pkgs.python2 + pkgs.python3 pkgs.makeWrapper ]; - postInstall = "wrapProgram $out/lib/cgit/filters/syntax-highlighting.py --prefix PYTHONPATH ':' ${pkgs.python.buildEnv.override { extraLibs = with pkgs.python2Packages; [ pygments ]; }}/lib/*/site-packages"; + postInstall = "wrapProgram $out/lib/cgit/filters/syntax-highlighting.py --prefix PYTHONPATH ':' ${pkgs.python.buildEnv.override { extraLibs = with pkgs.python3Packages; [ pygments ]; }}/lib/*/site-packages"; }); }; -- cgit v1.2.3