remove unused whitespaces, add shell.nix and .envrc (#2749)

This commit is contained in:
Creator54
2022-07-03 21:49:54 +05:30
committed by GitHub
parent 96c2c82e62
commit f6355949ca
3 changed files with 25 additions and 7 deletions

1
.envrc Normal file
View File

@@ -0,0 +1 @@
use_nix

View File

@@ -451,6 +451,12 @@ pacman -S qt5-svg
pacman -S openssl ca-certificates
```
#### NixOS
```shell
nix-shell
```
#### MacOS
First of all you need to install [brew](https://brew.sh) and than install dependencies

11
shell.nix Normal file
View File

@@ -0,0 +1,11 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
cmake
qt5.full
qt5.qttools
qt5.qtsvg
];
buildInputs = [ pkgs.qt5.qtbase ];
}