Miou-zora/Zix
Spline Visualiser using Raylib + Zig + Nix
Zix is a spline visualizer written in zig that use Raylib for rendering and Nix for dev-env.
I will try to implement these functions:
IMPORTANT You will need to enable
nix-command
andflakes
experimental features If you get an error about it, consider this command:mkdir -p ~/.config/nix && echo "experimental-features = nix-command flakes" | tee ~/.config/nix/nix.conf
Clone this repository and navigate to the project directory.
git clone https://github.com/Miou-zora/Zix.git
cd Zix
zig build
# It will build the project and run it. (do nothing if the project is already built)
zig build run
# or you can run the executable directly
./zig-out/bin/Zix
NOTE
nix build
is not supported yet. If you try to use it, it will create aresult
symlink that contain the executable BUT musl isn't linked correctly to binary. It would be appreciated if someone could help me to fix this issue.
You may load the devShell automatically using direnv shell integration.
echo "use flake" | tee .envrc
direnv allow