Skip to main content

Nox is a small tool that makes the use of the Nix package manager easier.

Nox is written in Python 3 and requires nix 1.8 and git. It is released under MIT license.

Try it

You can install it from nixpkgs by running nix-env -i nox.

To try the last version, just clone the repository, run nix-build, and run the resulting binaries in result/bin. To install it, run nix-env -if ..

Review

The nox-review command helps you find what has changed in nixpkgs, and build changed packages, so you’re sure they are not broken. There are 3 modes:

  • nox-review revs CURRENT_REV REFERENCE_REV finds the differences between two nixpkgs revisions, and builds those packages as they are in CURRENT_REV.

  • nox-review wip compares the nixpkgs in the current working dir against a commit, so you can check that your changes break nothing. Defaults to comparing to HEAD (the last commit), but you can change it: nox-review wip --against master^'.

  • nox-review pr PR finds the packages touched by the given PR and build them.

Experimental

I’m working on a new command, nox-update, that will display information about what is about to be updated, especially giving info not provided by nixos-rebuild:

  • Why is everything being installed?

  • Which are package upgrades?

  • Which are expression changes?

  • Which are only rebuilds trigerred by dependency changes?

  • Especially, what package triggered the rebuild?

A picture is better than a thousand words, so here is what it looks like for now:

http://i.imgur.com/jdOGN94.png

Release files for nix-nox 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nix-nox 0.0.3
File Size Uploaded
nix-nox-0.0.3.tar.gz 28.2 kB Details

Release files / nix-nox-0.0.3.tar.gz

Download URL nix-nox-0.0.3.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c42455fe7d416d292000b97f4685bf7501932c5d030a74b1299ff3bebd456d2d
BLAKE2b-256 checksum
How to use checksums
a596017fced391439f4495e44702c9b2f2f687845a7d44e9b32e8c5449a585c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.0.6

2 release files

0.0.5

1 release file

0.0.4

1 release file

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page