From 887ac853a0ce17e5f635c5268a7279f7c7d8ff6a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 13 Jan 2016 06:14:59 +0100 Subject: manual wrapping --- ymir.nix | 5 ++--- 1 file 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 { buildInputs = oldAttrs.buildInputs ++ [ pkgs.perl pkgs.python2 - pkgs.python2Packages.wrapPython pkgs.makeWrapper ]; - pythonPath = with pkgs.python2Packages ; [pygments]; postInstall = '' - wrapPythonPrograms + wrapProgram $out/lib/cgit/filters/syntax-highlighting.py \ + --prefix PYTHONPATH ':' ${pkgs.python.buildEnv.override { extraLibs = [ pygments ]; }}/lib/*/site-packages ''; }); }; -- cgit v1.2.3