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