weechat: do not hard code python prefix
This commit is contained in:
parent
1048dbc33c
commit
4debe3c927
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||
# then.
|
||||
patches = [ ./fix-gnutls-32.diff ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${python}/include/python2.7";
|
||||
NIX_CFLAGS_COMPILE = "-I${python}/include/${python.libPrefix}";
|
||||
|
||||
postInstall = ''
|
||||
NIX_PYTHONPATH="$out/lib/${python.libPrefix}/site-packages"
|
||||
|
|
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
cacert cmake ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin pythonPackages.pync;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${python}/include/python2.7";
|
||||
NIX_CFLAGS_COMPILE = "-I${python}/include/${python.libPrefix}";
|
||||
|
||||
postInstall = ''
|
||||
NIX_PYTHONPATH="$out/lib/${python.libPrefix}/site-packages"
|
||||
|
|
Loading…
Reference in a new issue