Skip to main content

Tools to make nix nicer to use

Project description

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 -iA 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 nixpkgs, and build change packages, so you’re sure they are not broken. There is 3 modes:

  • nox-review revs CURRENT_REV REFERENCE_REV find the differences between two nixpks revisions, and build 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: nox-review wip --against master^'.

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

Experimental

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

  • Why is everything being installed?

  • Which are package upgrades?

  • Which are expression change?

  • Which are only rebuild 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nix-nox-0.0.1.tar.gz (25.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page