News for hackers. Stuff that matters.
Re:The Nix project – Atomic upgrades, rollbacks and multi-us... by lewaldman on Tuesday April 29, 2014 @11:43AM (#7667733)
Was thinking about install it as my main desktop environment... Went to check the packages and no AwesomeWM.

Any one knows how hard is to add a package?

Re:The Nix project – Atomic upgrades, rollbacks and multi-us... by pmahoney on Tuesday April 29, 2014 @11:57AM (#7667845)
I found the nix expression language somewhat confusing at first, but I was able to create simple packages after a couple days. You can find many examples in nixpkgs, e.g.

https://github.com/NixOS/nixpkgs/blob/master/pkgs/applicatio...

Is that not AwesomeWM btw? There are some rough edges around package discovery (or holes in my knowledge).

If you install nix locally (just the package manager, not NixOS), I usually query like this:

    nix-env -qaP | grep awesome
Or I search through my local checkout of nixpkgs source.

I'll say that I'm finding nix (just using the package manager, not NixOS) to be a very nice way to manage some custom-compiled packages. I was able to upgrade nginx, for example, from 1.5 to 1.6 with all my plugins and compile flags in place with just a few small changes. This is surely possible through other means, but my previous method of manually downloading/compiling/saving configure flags in my $HOME/src was sloppy.

Re:The Nix project – Atomic upgrades, rollbacks and multi-us... by darklajid on Tuesday April 29, 2014 @11:49AM (#7667778)
I considered something similar. No experience myself, but the starting points would be here:

http://releases.nixos.org/nix/nix-1.7/manual/#chap-writing-n...

http://nixos.org/nixpkgs/manual/

Looks alien to me (of course, it's new!), but not too scary. Might give it a spin in a VM at least.