TODO
- Install
nix:
sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --no-daemon
- Enable flakes experimental feature:
mkdir ~/.config/nix/
echo "experimental-features = nix-command flakes" > ~/.config/nix/nix.conf
- Enter to nix shell
nix develop
- (Optional) Setup direnv to enter into nix shell automatically
Inside nix shell:
cmake $cmakeFlags -S llvm -B build
ninja -C build