forked from mirrors/nixpkgs
weechat: fix build on darwin
This commit is contained in:
parent
b4be4e5270
commit
1e752993db
|
@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
|
||||||
# then.
|
# then.
|
||||||
patches = [ ./fix-gnutls-32.diff ];
|
patches = [ ./fix-gnutls-32.diff ];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-I${python}/include/python2.7";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram "$out/bin/weechat" \
|
wrapProgram "$out/bin/weechat" \
|
||||||
--prefix PYTHONPATH : "$PYTHONPATH" \
|
--prefix PYTHONPATH : "$PYTHONPATH" \
|
||||||
|
@ -34,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = http://www.weechat.org/;
|
homepage = http://www.weechat.org/;
|
||||||
description = "A fast, light and extensible chat client";
|
description = "A fast, light and extensible chat client";
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
maintainers = with stdenv.lib.maintainers; [ garbas the-kenny ];
|
maintainers = with stdenv.lib.maintainers; [ lovek323 garbas the-kenny ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue