Add NixOS Building Instructions

This commit is contained in:
rexim 2019-05-01 20:18:29 +07:00
parent 259657b868
commit 0644134f7c

View file

@ -18,3 +18,9 @@ install [chatterino2-git](https://aur.archlinux.org/packages/chatterino2-git/) f
*most likely works the same for other Red Hat-like distros* *most likely works the same for other Red Hat-like distros*
1. `sudo yum install qt-creator qt5-qtmultimedia-devel qt5-qtsvg-devel openssl-devel gstreamer-plugins-ugly gstreamer-plugins-good boost-devel rapidjson-devel` 1. `sudo yum install qt-creator qt5-qtmultimedia-devel qt5-qtsvg-devel openssl-devel gstreamer-plugins-ugly gstreamer-plugins-good boost-devel rapidjson-devel`
1. Open `chatterino.pro` with QT Creator and build 1. Open `chatterino.pro` with QT Creator and build
## NixOS 18.09+
1. enter the development environment with all of the dependencies: `nix-shell -p openssl boost qt5.full`
1. go into project directory
1. create build folder `mkdir build && cd build`
1. `qmake .. && make`