Solutions to Advent of Code 2021 in zig
For now go for dev
- nix
direnv
(nix-env -iA nixpkgs.direnv
)- configured direnv shell hook
- some form of
make
(nix-env -iA nixpkgs.gnumake
)
Hint: if something doesn't work because of missing package please add the package to default.nix
instead of installing it on your computer. Why solve the problem for one if you can solve the problem for all? ;)
Also: if the direnv doesn't is work properly and it is installed via nix-env -> make sure your profile is sourced in your shellrc (source ~/.nix-profile/etc/profile.d/nix.sh
).
make init
make help