Fix at least obvious failures with python path
This commit is contained in:
parent
7333c01dba
commit
f995cf6548
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user