result/bin/odin_ray_tracerto execute built appodin test srcto see full test output even when successfulodin doc srcto print out docszeditor .to launch Zed from dev shell and open the project
nix developto enter dev shellnix build- build Odin projectnix eval .#packages.aarch64-darwin.defaultto see path to derivation
nix-tree $(nix build .#devShells.aarch64-darwin.default --no-link --print-out-paths)to see all packages and dependencies for the shellnix-tree $(nix build .#packages.aarch64-darwin.default --no-link --print-out-paths)to see all packages and dependencies for the build
nix flake checkto run testsnix flake show
nix profile install nixpkgs#kittyto install kitty to~/.nix-profile/bin/kittynix profile install nixpkgs#zed-editorto install Zed to~/.nix-profile/bin/kitty~/.nix-profileis a symlink to your nix store profile- In
~/.nix-profilecreate foldersbinandApplicationsThese are not symlinks nix profile listto see installed applications and their directories- Using the real addresses, create symlinks to the contents. This should work automatically, but it did not for me.
- E.g.,
sudo ln -s /nix/store/zn...lp-zed-editor-0.189.5/Applications/Zed.app /nix/store/h2...54-profile/Applications/Zed.app
pre-commit installpre-commit autoupdate
- Current Odin Version: dev-2025-06
- Odin Overview
- Odin Nix Package
- Odin Package Nix Shell
- Use flag
-target:"?"to print all supported targets
- Before running nix build, make sure to run
git add .to include all new files- Flake inputs do not see files that have not been added
- When updating Odin version:
- Remember to regenerate the patch
- Delete the Sha in
nix/odin.nixso that when runningnix buildthe correct Sha is printed.
- See Darwin (macOS) platform notes in the Nixpkgs Reference Manual.
- Make sure 'Command Line Tools for Xcode' is up to date
- Run
softwareupdate --listto check, andsoftwareupdate --install --allto update
- Run
- See Darwin stdenv
- See Building Odin on MacOS