Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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 -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 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

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
nix_nox-0.0.6-py3-none-any.whl (13.1 kB) Copy SHA256 hash SHA256 Wheel py3 Sep 16, 2017
nix-nox-0.0.6.tar.gz (30.2 kB) Copy SHA256 hash SHA256 Source None Sep 16, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page