Merge pull request #1044 from tsoding/nixos

Add NixOS Building Instructions
This commit is contained in:
pajlada 2019-05-01 15:57:01 +02:00 committed by GitHub
commit 5e7a1c4eb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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*
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
## 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`