Skip to content

A collection of personal (or otherwise personally useful) repositories packaged as Nix derivations.

Notifications You must be signed in to change notification settings

goromal/anixpkgs

Repository files navigation

anixpkgs

example workflow Deploy pages-build-deployment

LATEST RELEASE: v7.15.0

Docs Website

A collection of personal (or otherwise personally useful) repositories and NixOS closures packaged as a nixpkgs overlay.

Update Dependencies

To systematically update all (self-owned) dependencies, run

python scripts/update_deps.py

Lint

To lint all .nix files, run

nix-shell -p nixfmt --run "bash scripts/lint.sh"

Docs

Comprehensive documentation for individual packages and common NixOS use cases is served in site form here using mdbook on the docs/ directory. To generate new docs, run

NIXPKGS_ALLOW_UNFREE=1 python scripts/generate_docs.py

Auto-generated as part of CD pipeline.

Tests

To build all packages and run their respective unit tests, run

bash scripts/build_pkgs.sh cpp
bash scripts/build_pkgs.sh rust
bash scripts/build_pkgs.sh python
bash scripts/build_pkgs.sh bash
bash scripts/build_pkgs.sh java

To run regression tests, run

cd test
nix-shell --run "bash test.sh"

Automatically run as part of CI pipeline.

Closure Verifications

To check the validity of all NixOS closures (without actually building them), run

bash scripts/check_machines.sh

Automatically run as part of CI pipeline.

SITL

Some commands to spin up SITL environments:

# Drone Sim
bash scripts/sitl/drone-sim.sh

About

A collection of personal (or otherwise personally useful) repositories packaged as Nix derivations.

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •