My Haskell + Rust attempt on AoC 2022.
nix run .#day1
Use Cabal and Cargo to build
, and run
while developing. You'll want:
- Haskell:
cabal
,ghc
, and (optionally)haskell-language-server
- Rust:
cargo
,rustc
, and (optionally)rust-analyzer
andclippy
Nix devShells are available for each and every day, for example:
nix develop .#day1
Every day has a .envrc file to easily enter the devshell. Just install direnv,
cd into a day, and run direnv allow
.
Otherwise, just install them manually through your preferred package manager.