Re: [Nix-dev] Maven support in nix

2014-04-07 Thread Marc Weber
Excerpts from shacka's message of Sun Apr 06 20:51:22 + 2014: is it possible to build maven project as nix package? Not at all. Maven has its own dependency management, and nobody has worked on porting this to nix (AFAIK). Existing solutions (non Java): - cabal2nix (cabal descriptions to

Re: [Nix-dev] Repo for incomplete/unmaintained work

2014-04-07 Thread Marc Weber
We've had some discussion, my proposal was: Add a marker such as unmaintained-since: ... then remove after 6 month or so. Due to the since you know exactly what to remove. The hard thing is to define what it means to be maintained or unmaintained. Thus you could also introduce markers such as

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Malcolm Matalka
I'm guessing (based on my workflow) you want: nix-env -f . -i cinnamon-session Roelof Wobben r.wob...@home.nl writes: Hello, I want to test if cinnamon-session works well so I can proceed. So I did nix-env -i cinnamon-session. But then I see this message: error: selector

Re: [Nix-dev] anyone up for a NixOS talk @ linuxtage graz?

2014-04-07 Thread Johannes Raggam
hey again, i gave a NixOS lightning talk. there were quite some people listening to it. two out of 40 even heard about NixOS. you can find the slides in german language her: http://johannes.raggam.co.at/linux-distro-nixos/index.html cheers, johannes On Thu, 2014-02-27 at 11:34 +0100,

[Nix-dev] Hash Collisions

2014-04-07 Thread Raahul Kumar
I just ran a nixos-rebuild switch --upgrade. I saw a whole bunch of hash collisions and some other error messages. How do I make them go away? collision between `/nix/store/fsymx7fx3bxhr2p1gprvzgdxhxyi77b1-kmod-16/sbin/modprobe' and

[Nix-dev] systemPackages vs. services.dbus.packages

2014-04-07 Thread Kirill Elagin
Hi all, I've just noticed that some of system packages have their DBus config sourced twice. Their `etc/dbus-1/system.d/` directories are both explicitly listed in `/etc/dbus-1/system.conf` and are symlinked from `/nix/store/${hash}-system-path/etc/dbus-1/system.d`. The former happens because

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Roelof Wobben
Not working, I see the same error message. also nix-env -f . -i cinnamon is working. Roelof Malcolm Matalka schreef op 7-4-2014 9:28: I'm guessing (based on my workflow) you want: nix-env -f . -i cinnamon-session Roelof Wobben r.wob...@home.nl writes: Hello, I want to test if

[Nix-dev] reboot hangs most of the time

2014-04-07 Thread Roelof Wobben
Hello, When I want to reboot my box I enter 'reboot' in the prompt. And most of the time I see unmounting /nix/store and nothings happens after that. I need to use the reboot button on my machine to make things working again. Roelof ___ nix-dev

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Malcolm Matalka
Did you add it to all-packages then? Perhaps you could upload more information to a pastebin somewhere, it's hard to debug at this granularity. Roelof Wobben r.wob...@home.nl writes: Not working, I see the same error message. also nix-env -f . -i cinnamon is working. Roelof Malcolm

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Roelof Wobben
Malcolm Matalka schreef op 7-4-2014 13:40: Did you add it to all-packages then? No, cinnamon-session is avaible on master so I assumed it's already added to all-packages. Perhaps you could upload more information to a pastebin somewhere, it's hard to debug at this granularity. What info do

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Rok Garbas
Quoting Roelof Wobben (2014-04-07 12:43:05) Malcolm Matalka schreef op 7-4-2014 13:40: Did you add it to all-packages then? No, cinnamon-session is avaible on master so I assumed it's already added to all-packages. Perhaps you could upload more information to a pastebin somewhere,

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Roelof Wobben
nix-env -qa does not show any packages of cinnamon. nix-env -f . -i cinnamon.cinnamon-session shows the no derivations found erorr. Roelof Rok Garbas schreef op 7-4-2014 14:11: Quoting Roelof Wobben (2014-04-07 12:43:05) Malcolm Matalka schreef op 7-4-2014 13:40: Did you add it to

[Nix-dev] Add carl9170 firmware #2145

2014-04-07 Thread Raahul Kumar
Hi Shea, I found the github repo for the Carl 9170 driver and its firmware which is under the GPLv2 https://github.com/chunkeey/carl9170fw So it can be included with Nixos. It is for the TP-LINK TL-WN821N v1 2. And here is a link to the binary

Re: [Nix-dev] anyone up for a NixOS talk @ linuxtage graz?

2014-04-07 Thread Rob Vermaas
Hi Johannes, great, thanks for spreading the word! Cheers, Rob On Mon, Apr 7, 2014 at 10:11 AM, Johannes Raggam raggam...@adm.at wrote: hey again, i gave a NixOS lightning talk. there were quite some people listening to it. two out of 40 even heard about NixOS. you can find the slides

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Bjørn Forsman
Den 7. apr. 2014 14:21 skrev Roelof Wobben r.wob...@home.nl følgende: nix-env -qa does not show any packages of cinnamon. nix-env -f . -i cinnamon.cinnamon-session shows the no derivations found erorr. cinnamon.cinnamon-session looks like an attributes path. Try nix-env -f . -iA

Re: [Nix-dev] Hash Collisions

2014-04-07 Thread Thomas Bereknyei
I have seen these collisions as well, but I do not understand them. They don't seem to have a detrimental effect on anything. -Tom On Mon, Apr 7, 2014 at 4:28 AM, Raahul Kumar raahul.ku...@gmail.com wrote: I just ran a nixos-rebuild switch --upgrade. I saw a whole bunch of hash collisions

Re: [Nix-dev] Maven support in nix

2014-04-07 Thread Colin Putney
On Mon, Apr 7, 2014 at 1:25 AM, Marc Weber marco-owe...@gmx.de wrote: Existing solutions (non Java): - cabal2nix (cabal descriptions to nix) - py2nix (or such) same for python - ruby2nix (or such ) same for ruby -hacknix/nixpkgs-ruby-overlay (they convert hackage/rubyforge to a pool which

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Roelof Wobben
Bjørn Forsman schreef op 7-4-2014 15:30: Den 7. apr. 2014 14:21 skrev "Roelof Wobben" r.wob...@home.nl følgende: nix-env -qa does not show any packages of cinnamon. nix-env -f . -i cinnamon.cinnamon-session shows

Re: [Nix-dev] Hash Collisions

2014-04-07 Thread Kirill Elagin
First of all, those are not hash collisions, obviously. If those were SHA-256 collisions, you'd already be famous =). Those are file collisions, and as you can see, this time the file in question is /share/man/man2/llistxattr.2.gz, it is provided by two packages: `man-pages` and `attr`. Since your

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Bjørn Forsman
Den 7. apr. 2014 15:53 skrev Roelof Wobben r.wob...@home.nl følgende: Bjørn Forsman schreef op 7-4-2014 15:30: Den 7. apr. 2014 14:21 skrev Roelof Wobben r.wob...@home.nl følgende: nix-env -qa does not show any packages of cinnamon. nix-env -f . -i cinnamon.cinnamon-session shows the

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Roelof Wobben
Bjørn Forsman schreef op 7-4-2014 17:08: Den 7. apr. 2014 15:53 skrev "Roelof Wobben" r.wob...@home.nl følgende: Bjørn Forsman schreef op 7-4-2014 15:30: Den 7. apr. 2014 14:21 skrev "Roelof Wobben" r.wob...@home.nl

Re: [Nix-dev] after install problem

2014-04-07 Thread Roelof Wobben
Roelof Wobben schreef op 7-4-2014 5:46: Bjørn Forsman schreef op 6-4-2014 23:29: Hi Roelof, Your configuration.nix[1] looks OK to me. But you log indicates trouble with X: display-manager.service - X11 Server Loaded: loaded

[Nix-dev] versionedDeravation / php fpm / cups 1.7

2014-04-07 Thread Marc Weber
As Peti eventually shlevy requested I'm moving this discussion to the nix-dev list. Not everybody is watching the github repository. To keep my own maintanance effort low I'd like to spend the time making the cupsd update patch and the fpm patch acceptable - but I need help understanding what to

Re: [Nix-dev] Hash Collisions

2014-04-07 Thread Marc Weber
Excerpts from Thomas Bereknyei's message of Mon Apr 07 13:48:45 + 2014: I have seen these collisions as well, but I do not understand them. They don't seem to have a detrimental effect on anything. Let me explain: nixos builds a system profile. Eg ls -l /run/current-system/sw When two

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Michael Raskin
nix-env -f . -i cinnamon.cinnamon-session shows the no derivations found erorr. nix-env -f . -iA cinnamon.cinnamon-session ? ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Roelof Wobben
Michael Raskin schreef op 7-4-2014 19:09: nix-env -f . -i cinnamon.cinnamon-session shows the no derivations found erorr. nix-env -f . -iA cinnamon.cinnamon-session ? Same error. It looks like Cinnamon is blocked to be found. Other packages are not a problem. Roelof

[Nix-dev] versionedDeravation / php fpm / cups 1.7

2014-04-07 Thread Michael Raskin
For me versionDerivation looks like a nicer solution, but I generally tend to be OK with computations written in Nix. I have been burnt by pythonPackages and even by linuxPackages providing different subsets of modules for different core versions… so I do not think versionedDerivation is worse

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Michael Raskin
Michael Raskin schreef op 7-4-2014 19:09: nix-env -f . -i cinnamon.cinnamon-session shows the no derivations found erorr. nix-env -f . -iA cinnamon.cinnamon-session ? Same error. It looks like Cinnamon is blocked to be found. Other packages are not a problem. nix-instantiate

[Nix-dev] Accidental force push to nixpkgs

2014-04-07 Thread Shea Levy
Hi all, I had my remotes set up wrong and accidentally force pushed to NixOS/nixpkgs.git instead of shlevy/nixpkgs.git. Any commits since 1ccb3c07316084983a34507e8324df1a5c4c4bd4 will need to be re-pushed. So sorry! ~Shea ___ nix-dev mailing list

Re: [Nix-dev] versionedDeravation / php fpm / cups 1.7

2014-04-07 Thread Domen Kožar
The main question that raises here is: Where are the limits? As soon as we allow more than one design pattern for sharing code between packages, we might have one more approach for code sharing every 6 months making maintenance of different packages have a bigger learning curve for no/little

Re: [Nix-dev] Accidental force push to nixpkgs

2014-04-07 Thread Shea Levy
Via the github API we found the latest commit and Austin Seipp was able to push it again. Crisis hopefully averted. On Mon, Apr 07, 2014 at 01:30:58PM -0400, Shea Levy wrote: Hi all, I had my remotes set up wrong and accidentally force pushed to NixOS/nixpkgs.git instead of

Re: [Nix-dev] after install problem

2014-04-07 Thread Roelof Wobben
Michael Raskin schreef op 7-4-2014 19:17: Hello, I tried to use the propierty nvidia driver but I cannot make it install. services.xserver.videoDrivers = ['nvidia'] and hardware.opengl.videoDrivers = [ 'nvidia'] gives both a undefined error. You need either or '' I did the

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Roelof Wobben
Michael Raskin schreef op 7-4-2014 19:27: Michael Raskin schreef op 7-4-2014 19:09: nix-env -f . -i cinnamon.cinnamon-session shows the no derivations found erorr. nix-env -f . -iA cinnamon.cinnamon-session ? Same error. It looks like Cinnamon is blocked to be found. Other packages are

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Michael Raskin
Michael Raskin schreef op 7-4-2014 19:27: Michael Raskin schreef op 7-4-2014 19:09: nix-env -f . -i cinnamon.cinnamon-session shows the no derivations found erorr. nix-env -f . -iA cinnamon.cinnamon-session ? Same error. It looks like Cinnamon is blocked to be found. Other packages are

Re: [Nix-dev] after install problem

2014-04-07 Thread Michael Raskin
Michael Raskin schreef op 7-4-2014 19:17: Hello, I tried to use the propierty nvidia driver but I cannot make it install. services.xserver.videoDrivers = ['nvidia'] and hardware.opengl.videoDrivers = [ 'nvidia'] gives both a undefined error. You need either or '' I did the

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Bjørn Forsman
Hi Roelof, If this doesn't work for you: $ nix-env -qaP | grep cinnamon nixos.pkgs.cinnamon.cinnamon-desktop cinnamon-desktop-2.0.4 nixos.pkgs.cinnamon.cinnamon-session cinnamon-session-2.0.6 nixos.pkgs.cinnamon.cinnamon-translations cinnamon-translations-2.0.3

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Roelof Wobben
Bjørn Forsman schreef op 7-4-2014 20:47: Hi Roelof, If this doesn't work for you: $ nix-env -qaP | grep cinnamon nixos.pkgs.cinnamon.cinnamon-desktop cinnamon-desktop-2.0.4 nixos.pkgs.cinnamon.cinnamon-session cinnamon-session-2.0.6

Re: [Nix-dev] reboot hangs most of the time

2014-04-07 Thread Peter Simons
Hi Roelof, When I want to reboot my box I enter 'reboot' in the prompt. And most of the time I see unmounting /nix/store and nothings happens after that. I've run into this issue, too, but only sporadically. I have no idea what might be the cause of this phenomenon. It feels like reboot is

[Nix-dev] stripHash

2014-04-07 Thread Colin Putney
Hi all, The Nixpkgs Manual mentions that stdenv provides a shell function, stripHash, that will strip off the directory and hash part of a store path, and print out just the name. (See http://nixos.org/nixpkgs/manual/#fun-stripHash). However, it doesn't actually print anything out. (At least not

Re: [Nix-dev] Hash Collisions

2014-04-07 Thread Raahul Kumar
Thanks Marc, Kiril. Is there a way to create packages such that they don't provide redundant files? It's a waste of bandwidth to download a file, then be unable to use it because there is already a copy there. I guess deduplication is what I am looking for. The /run/current-system was a useful

Re: [Nix-dev] stripHash

2014-04-07 Thread Alex Berg
I thought the documentation for the standard environment in the Nix manual needed, some updating, so I wrote a wiki page a few months ago. There's a section there which describes all of those library functions [1]. I didn't see anything which suggests it is printed to stdout. Here's the current

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Roelof Wobben
Roelof Wobben schreef op 7-4-2014 19:36: Bjørn Forsman schreef op 7-4-2014 20:47: Hi Roelof, If this doesn't work for you: $ nix-env -qaP | grep cinnamon nixos.pkgs.cinnamon.cinnamon-desktop cinnamon-desktop-2.0.4 nixos.pkgs.cinnamon.cinnamon-session