Fix at least obvious failures with python path

This commit is contained in:
Michael Raskin 2012-11-26 01:43:30 +04:00
parent 7333c01dba
commit f995cf6548

View File

@ -8,6 +8,7 @@
, hicolor_icon_theme, libjpeg_turbo, libsigcxx, protobuf, pygtk, pythonDBus
, xdg_utils
, gettext, boost, pyrex
, makeWrapper
}:
let
s = # Generated upstream information
@ -29,6 +30,7 @@ let
hicolor_icon_theme libjpeg_turbo libsigcxx protobuf pygtk pythonDBus
xdg_utils
gettext boost pyrex
makeWrapper
];
in
stdenv.mkDerivation rec {
@ -39,6 +41,11 @@ stdenv.mkDerivation rec {
inherit buildInputs;
NIX_CFLAGS_COMPILE=" -Wno-error ";
postInstall = ''
wrapProgram "$out/bin/ccsm" \
--prefix PYTHONPATH : "$PYTHONPATH" \
--prefix PYTHONPATH : "$out/lib/${python.libPrefix}/site-packages"
'';
meta = {
description = "Compoziting window manager";