diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 38 |
1 files changed, 38 insertions, 0 deletions
@@ -1 +1,39 @@ # GSA Parser + +## Build Instructions + +First, install nix: + +``` sh +curl -L https://nixos.org/nix/install | sh +``` + +It's recommended to use `flake` in nix, which is experimental: + +``` sh +nix-env -iA nixpkgs.nixUnstable +``` + +Then add the following to `~/.config/nix/nix.conf`: + +``` text +experimental-features = nix-command flakes +``` + +For faster compilation, use [cachix](https://www.cachix.org/) to download binary dependencies: + +``` sh +nix-env -iA cachix -f https://cachix.org/api/v1/install +``` + +Then, activate the following cache: + +``` sh +cachix use ymherklotz +``` + +Then build the project using: + +``` sh +nix build +``` |