[Nix-dev] Introducing nox and nox-review

2014-11-12 Thread Georges Dubus
Hello everyone.

I just realized I've never properly announced nox on the mailing list, so
here it comes.

I'm happy to present the nox tools suite, which is a set of tools designed
to improve the use of Nix and NixOS. The code can be found at
https://github.com/madjar/nox, and nox is available in nixpkgs as the nox
attribute. There are already two tools that should make your life easier.

nox itself is a command line tool that help you search nixpkgs to install
packages. It's basically a nicer version of the old nix-env -qaP | grep,
with caching to make search faster, color, and a few other niceties.

nox-review is a tool designed to help those who work on nixpkgs.
nox-review pr PR_NUMBER downloads a pull request, merges it in master,
and build every single path affected by the pull request (each package
changed by the pr, and all their dependencies). This makes it easy for a
reviewer to build a pull request before merging it, and allow them to make
sure that nothing unexpected was broken by a pull request. nox-review
wip, on the other hand, can be used to make sure the changes introduced in
a nixpkgs working tree don't break anything.


I hope you can make a good use of those tools, especially nox-review pr
which I hope can improve the reliability of nixpkgs by making it easier to
catch breakage early.

Cheers
--
Georges
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Introducing nox and nox-review

2014-11-12 Thread Damien Cassou
Hi,

On Wed, Nov 12, 2014 at 1:46 PM, Georges Dubus georges.du...@gmail.com wrote:
 I just realized I've never properly announced nox on the mailing list, so
 here it comes.

I wrote a simple nixos-update script that might also be useful to some
users. Its comment is:

# Update ~/nixpkgs git repository based on what is the latest nixos unstable:
# - the git 'basesystem' branch is the branch always pointing to nixos unstable
# - the git 'system' branch is based on 'basesystem' and adds my own
stuff on top

the code can be found at
https://gist.github.com/DamienCassou/bce633bba3eb1dfada1f

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

Success is the ability to go from one failure to another without
losing enthusiasm.
Winston Churchill
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Introducing nox and nox-review

2014-11-12 Thread Marc Weber
https://nixos.org/wiki/Howto_find_a_package_in_NixOS
is the place to add a reference..

Marc Weber
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Introducing nox and nox-review

2014-11-12 Thread member MP2E
Thank you for posting this! I was not aware such utilities existed, but it
will make managing pull requests much easier for me from here on out

On Wed, Nov 12, 2014 at 5:11 AM, Damien Cassou damien.cas...@gmail.com
wrote:

 Hi,

 On Wed, Nov 12, 2014 at 1:46 PM, Georges Dubus georges.du...@gmail.com
 wrote:
  I just realized I've never properly announced nox on the mailing list, so
  here it comes.

 I wrote a simple nixos-update script that might also be useful to some
 users. Its comment is:

 # Update ~/nixpkgs git repository based on what is the latest nixos
 unstable:
 # - the git 'basesystem' branch is the branch always pointing to nixos
 unstable
 # - the git 'system' branch is based on 'basesystem' and adds my own
 stuff on top

 the code can be found at
 https://gist.github.com/DamienCassou/bce633bba3eb1dfada1f

 --
 Damien Cassou
 http://damiencassou.seasidehosting.st

 Success is the ability to go from one failure to another without
 losing enthusiasm.
 Winston Churchill
 ___
 nix-dev mailing list
 nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev