mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
Merge pull request #50258 from peterhoeg/f/mqtt
mosquitto: enable websockets support
This commit is contained in:
commit
7c2babf84c
@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace man/manpage.xsl \
|
substituteInPlace man/manpage.xsl \
|
||||||
--replace /usr/share/xml/docbook/stylesheet/ ${docbook_xsl}/share/xml/
|
--replace /usr/share/xml/docbook/stylesheet/ ${docbook_xsl}/share/xml/
|
||||||
|
|
||||||
|
for f in {lib,lib/cpp,src}/CMakeLists.txt ; do
|
||||||
|
substituteInPlace $f --replace /sbin/ldconfig ldconfig
|
||||||
|
done
|
||||||
|
|
||||||
# the manpages are not generated when using cmake
|
# the manpages are not generated when using cmake
|
||||||
pushd man
|
pushd man
|
||||||
make
|
make
|
||||||
@ -39,6 +43,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DWITH_THREADING=ON"
|
"-DWITH_THREADING=ON"
|
||||||
|
"-DWITH_WEBSOCKETS=ON"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user