Re: [Nix-dev] Maven support in nix
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 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 gets translated to .nix files, derivations get created by functions on the fly) some time age there was announced some work /question about bundler support (ruby) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Repo for incomplete/unmaintained work
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 maintainance-levels = [ gets-updated-within-a-week-if-new-version-appears somebody is reviewing code ..]; Not sure whether it would make sense. Whether such code gets moved to another repository or not - which is the benefit/ difference from having a simple wiki page unmaintained packages for nixos/ can be found in nixpkgs git history? Then at least google finds it .. No idea. Marc Weber ___ 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
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 'cinnamon-session' matches no derivation. Roelof ___ 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
Re: [Nix-dev] anyone up for a NixOS talk @ linuxtage graz?
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, Johannes Raggam wrote: hey all, here in my hometown graz/austria, there is the linuxtage mini conference on 4th and 5th april, organised by the creator of the GRML distribution. it would be great to have a NixOS talk there, to have this topic covered! I'm not up for this, since i'm new to NixOS and have no experience. does anyone else feels like wanting to give a talk there? the deadline for the call-of-proposals is TOMORROW, Friday 28th, 24:00 (CET)! http://linuxtage.at/call-for-lectures/ (site is in german) best, johannes ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev -- programmatic web development di(fh) johannes raggam / thet python plone zope development plone framework team member mail: off...@programmatic.pro web: http://programmatic.pro http://bluedynamics.com signature.asc Description: This is a digitally signed message part ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Hash Collisions
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/store/yccdr2mdj8yb7qm505bsam0wqbsqvck3-modprobe/sbin/modprobe' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/llistxattr.2.gz' and `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/llistxattr.2.gz' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/lremovexattr.2.gz' and `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/lremovexattr.2.gz' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/lsetxattr.2.gz' and `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/lsetxattr.2.gz' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/26392g24x9d1si4f214ssdlb90nff2d9-network-manager-applet-0.9.8.8/share/glib-2.0/schemas/gschemas.compiled' and `/nix/store/iql54c5b8xr0q81mx255xivw72fcibmf-gst-plugins-bad-0.10.23/share/glib-2.0/schemas/gschemas.compiled' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. Second error message root module: scsi_wait_scan modprobe: FATAL: Module scsi_wait_scan not found. I don't even have any scsi hardware, so how do I make modprobe skip loading it. Aloha, RK. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] systemPackages vs. services.dbus.packages
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 those packages are in services.dbus.packages, and the latter is because they are in systemPackages and dbus modules adds `/etc/dbus` to environment.pathsToLink. That said, not all of the packages having their files in `system-path/etc/dbus-1/system.d` also have them mentioned in `/etc/dbus-1/system.conf`, that is, they are not listed in services.dbus.packages. Those are (on my system) bluetooth, systemd daemons, KDE stuff and PulseAudio. So, the question is: what is the purpose of having services.dbus.packages if those configs are considered anyway due to packages being in systemPackages? -- Кирилл Елагин ___ 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
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 cinnamon-session works well so I can proceed. So I did nix-env -i cinnamon-session. But then I see this message: error: selector 'cinnamon-session' matches no derivation. Roelof ___ 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
[Nix-dev] reboot hangs most of the time
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 mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] cannot install cinnamon-session
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 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 cinnamon-session works well so I can proceed. So I did nix-env -i cinnamon-session. But then I see this message: error: selector 'cinnamon-session' matches no derivation. Roelof ___ 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 ___ 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
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 you need ? ___ 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
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, it's hard to debug at this granularity. What info do you need ? looking at all-packages.nix looks like you need to do: nix-env -f . -i cinnamon.cinnamon-session -- Rok Garbas - http://www.garbas.si ___ 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
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 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 you need ? looking at all-packages.nix looks like you need to do: nix-env -f . -i cinnamon.cinnamon-session -- Rok Garbas - http://www.garbas.si ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Add carl9170 firmware #2145
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 http://wireless.kernel.org/en/users/Drivers/carl9170?action=AttachFiledo=gettarget=carl9170-1.fw-1.9.9 Rename to carl9170-1.fw. I think this is enough info to help you close that issue on Git. Aloha, RK. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] anyone up for a NixOS talk @ linuxtage graz?
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 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, Johannes Raggam wrote: hey all, here in my hometown graz/austria, there is the linuxtage mini conference on 4th and 5th april, organised by the creator of the GRML distribution. it would be great to have a NixOS talk there, to have this topic covered! I'm not up for this, since i'm new to NixOS and have no experience. does anyone else feels like wanting to give a talk there? the deadline for the call-of-proposals is TOMORROW, Friday 28th, 24:00 (CET)! http://linuxtage.at/call-for-lectures/ (site is in german) best, johannes ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev -- programmatic web development di(fh) johannes raggam / thet python plone zope development plone framework team member mail: off...@programmatic.pro web: http://programmatic.pro http://bluedynamics.com ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev -- Rob Vermaas [email] rob.verm...@gmail.com ___ 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
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 cinnamon.cinnamon-session - Bjørn ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Hash Collisions
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 and some other error messages. How do I make them go away? collision between `/nix/store/fsymx7fx3bxhr2p1gprvzgdxhxyi77b1-kmod-16/sbin/modprobe' and `/nix/store/yccdr2mdj8yb7qm505bsam0wqbsqvck3-modprobe/sbin/modprobe' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/llistxattr.2.gz' and `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/llistxattr.2.gz' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/lremovexattr.2.gz' and `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/lremovexattr.2.gz' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/lsetxattr.2.gz' and `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/lsetxattr.2.gz' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/26392g24x9d1si4f214ssdlb90nff2d9-network-manager-applet-0.9.8.8/share/glib-2.0/schemas/gschemas.compiled' and `/nix/store/iql54c5b8xr0q81mx255xivw72fcibmf-gst-plugins-bad-0.10.23/share/glib-2.0/schemas/gschemas.compiled' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. Second error message root module: scsi_wait_scan modprobe: FATAL: Module scsi_wait_scan not found. I don't even have any scsi hardware, so how do I make modprobe skip loading it. Aloha, RK. ___ 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
Re: [Nix-dev] Maven support in nix
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 gets translated to .nix files, derivations get created by functions on the fly) Also, npm2nix. ___ 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
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 no derivations found erorr. cinnamon.cinnamon-session looks like an attributes path. Try nix-env -f . -iA cinnamon.cinnamon-session - Bjørn Sorry also not working error: attribute 'cinnamon-session' in selection path 'cinnamon-session' not found. Roelof ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Hash Collisions
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 output doesn't say that there is an error, those are not errors, just info. You can safely ignore those collisions. This module thing is also not an error, you can safely ignore it. Initrd is trying to load the module just in case, and if it fails, that's OK the module is just skipped. -- Кирилл Елагин On Mon, Apr 7, 2014 at 5:48 PM, Thomas Bereknyei tombe...@gmail.com wrote: 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.comwrote: 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/store/yccdr2mdj8yb7qm505bsam0wqbsqvck3-modprobe/sbin/modprobe' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/llistxattr.2.gz' and `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/llistxattr.2.gz' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/lremovexattr.2.gz' and `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/lremovexattr.2.gz' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/lsetxattr.2.gz' and `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/lsetxattr.2.gz' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/26392g24x9d1si4f214ssdlb90nff2d9-network-manager-applet-0.9.8.8/share/glib-2.0/schemas/gschemas.compiled' and `/nix/store/iql54c5b8xr0q81mx255xivw72fcibmf-gst-plugins-bad-0.10.23/share/glib-2.0/schemas/gschemas.compiled' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. Second error message root module: scsi_wait_scan modprobe: FATAL: Module scsi_wait_scan not found. I don't even have any scsi hardware, so how do I make modprobe skip loading it. Aloha, RK. ___ 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 ___ 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
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 no derivations found erorr. cinnamon.cinnamon-session looks like an attributes path. Try nix-env -f . -iA cinnamon.cinnamon-session - Bjørn Sorry also not working error: attribute 'cinnamon-session' in selection path 'cinnamon-session' not found. Then query for it: nix-env -qaP | grep -i cinnamon First column is attrpath, second column is package name. ___ 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
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 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 cinnamon.cinnamon-session - Bjørn Sorry also not working error: attribute 'cinnamon-session' in selection path 'cinnamon-session' not found. Then query for it: nix-env -qaP | grep -i cinnamon First column is attrpath, second column is package name. this one gives no output. It's getting wierder and wierder Roelof ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] after install problem
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/store/cdi6sb7paw3iabmpz74amx793siwz4lk-unit/display-manager.service) Active: active (running) since Sun 2014-04-06 13:12:12 CEST Process: 1210 ExecStartPre=/nix/store/hripj4s722n8nl27rfrv940njls7sd1a-unit-script/bin/display-manager-pre-start (code=exited, status=0/SUCCESS) Main PID: 1229 (kdm) CGroup: name=systemd:/system/display-manager.service └─1229 /nix/store/9wxsvqagwyjmasxnvn5df2wjczxl7d14-kde-workspace-4.10.5/bin/kdm -config /nix/store/zyaik246m4wf002aci0cbha7l7a5sd5w-kdmrc -nodaemon Apr 06 13:12:12 nixos systemd[1]: Started X11 Server. Apr 06 13:12:13 nixos kdm_config[1311]: Multiple occurrences of section [Shutdown] in /nix/store/zyaik246m4wf002aci0cbha7l7a5sd5w-kdmrc. Consider merging them. Apr 06 13:12:13 nixos kdm_config[1311]: Multiple occurrences of section [X-*-Core] in /nix/store/zyaik246m4wf002aci0cbha7l7a5sd5w-kdmrc. Consider merging them. Apr 06 13:12:13 nixos kdm_config[1311]: Multiple occurrences of key 'Session' in section [X-*-Core] of /nix/store/zyaik246m4wf002aci0cbha7l7a5sd5w-kdmrc Apr 06 13:12:13 nixos kdm_config[1311]: Multiple occurrences of key 'SessionsDirs' in section [X-*-Core] of /nix/store/zyaik246m4wf002aci0cbha7l7a5sd5w-kdmrc Apr 06 13:12:13 nixos kdm_config[1311]: Multiple occurrences of section [X-*-Greeter] in /nix/store/zyaik246m4wf002aci0cbha7l7a5sd5w-kdmrc. Consider merging them. Apr 06 13:12:13 nixos kdm_config[1311]: Multiple occurrences of section [X-:*-Core] in /nix/store/zyaik246m4wf002aci0cbha7l7a5sd5w-kdmrc. Consider merging them. Apr 06 13:12:13 nixos kdm_config[1311]: Multiple occurrences of key 'ServerCmd' in section [X-:*-Core] of /nix/store/zyaik246m4wf002aci0cbha7l7a5sd5w-kdmrc Apr 06 13:12:18 nixos kdm[1229]: X server died during startup Apr 06 13:12:18 nixos kdm[1229]: X server for display :0 cannot be started, session disabled Take a look at /var/log/X.0.log to see if there are some clues there (as to why X server died during startup). Bjorn thanks, If I look at the log it seems that the vesa driver it too blame. the log can be found here : https://gist.github.com/anonymous/10015209 What I find wierd that X does not use the nouveau driver. I have a nvidia Geforce 610 card. Roelof 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. Roelof ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] versionedDeravation / php fpm / cups 1.7
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 do and why. People who were participating (feeling more or less strong about it): shelvy: was closing requests for style issues - and probably agreeing that it should be discussed here peti : was disliking this style and finally closing the issue https://github.com/NixOS/nixpkgs/issues/1957 to force discussion on nix-dev eelco : was disliking this style finally explained why in issues/1957 (details below) Two valuable patches which (still) use versioneDerivation and which solve real world problems some nixos users might care about. patch 1: cups update: https://github.com/NixOS/nixpkgs/pull/1120 fixes: printing with older canon printers MP980 and PIXMA BJC 4000 (by updating cups from 1.5.4 to 1.7 - which causes quite a lot of differences, see below) patch 2: most complete php fpm implementation: https://github.com/NixOS/nixpkgs/pull/487 Needs some refactoring - which? Details: * denotes info + denotes improvement - denotes TODO - maybe with proposal how to fix ? denotes topic to be discussed (eg versioneDerivation usage) cups changes details (patch 1): === * based on PDF processing chain + makes my older canon printers work (MP980 and Pixma 4000). They previously only printed 30% of a page ? is using versioneDerivation, see [Examples] below https://github.com/MarcWeber/nixpkgs/tree/experimental/marc/pkgs/misc/cups/default.nix support 1.6 can be romved probably if 1.7 works for everyone. 1.5.4 should be kept eventually to keep everything working as its now https://github.com/MarcWeber/nixpkgs/tree/experimental/marc/pkgs/pkgs/misc/ghostscript/default.nix 9.06 does contain raster cups filter 9.10 does no longer contain raster, AFAIK its contained in cupsFilters instead gnu ? no idea. - localhost:631 which is the cupsd configuration page cannot print testing pages - I should provide this interface (trivial to provide this) services.cupsd = // alias for 1_5, deprecating this services.cupsd_1_5 = { // still need old version because I cannot guarantee that 1.7 works // for everybody // ps processing chain } services.cupsd_1_7 = { // still need old version because I cannot guarantee that 1.7 works // for everybody // pdf processing chain gutenprintPackage = pkgs.gutentprint; # or gutenprintCVS, use this to enable gutenprint, this will build all ppds ghostscript = pkgs.ghostscript_Mainline_9_10; # or gnu version .. } PHP fpm changes (patch 2) + will figure out how many daemons/pools to create on its own based on ini files etc. Some options cannot be set in pool configuration - such as enabling xdebug, then you need multiple php services. ? uses one one php.nix file to run PHP versions - which is close to versioneDerivation style 5.2 should be dropped 5.3 5.4 5.5 = It just happens that all can be run easily with only some small changes, see [Example 3] below and provide php.xdebug (tested, works for all php versions) php.apc and the like (untested, maybe no longer needed) and php.system_fpm_config (which should be moved into nixos/modules now - 5.2 will get dropped) - 5.2 should be dropped: will fix this versioneDerivation (use cases) == Usage example: [Example 1]: https://github.com/MarcWeber/nixpkgs/blob/experimental/marc/pkgs/misc/cups/default.nix installFlags are all the same (I was too lazy here) [Example 2]: https://github.com/MarcWeber/nixpkgs/blob/experimental/marc/pkgs/misc/ghostscript/default.nix Mind this comment: # This no longer contains raster for cups, should be contained in cups-filters now? should this be in meta, too? (if so for which version) - this does make a big difference for cupsd module! Documenting such changes is easily spotted if you have one file. [Example 3] PHP https://github.com/MarcWeber/nixpkgs/blob/experimental/marc/pkgs/development/interpreters/php/default.nix Its not using versioneDerivation, but is very close - that close that it serves as historically grown example. The differences are still small, thus just search for lessThan using ctrl-f browser search to spot them all. all-packages.nix looks like this: php = callPackage ../development/interpreters/php { }; php5_3 = php.override { version = 5.3.x; }; php5_3fpm = php5_3.override { sapi = fpm; }; [.. same for 5.4 and 5.5 .. ] Is it really that bad as long as most code is shared (otherwise its the wrong tool) discussing versionedDerivation - arguments
Re: [Nix-dev] Hash Collisions
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 packages which get linked to that directory provide the same file (see your log) - then collisions happen. Now its up to you to review / change order to make the difference which man page will be opened for instance. Marc Weber ___ 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
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
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 mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] versionedDeravation / php fpm / cups 1.7
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 than status quo. Given that dependencies are hidden from all-packages.nix now, I think that versionedDerivation + full set of suffixed versions in all-packages.nix make it obvious both for those reading the default.nix and for those reading all-packages.nix which versions could work. discussing versionedDerivation - arguments == In https://github.com/NixOS/nixpkgs/issues/1957 Eelco Dolstra described what he dislikes: == QUOTE My main objection to versionedDerivation is the wackiness of having package functions that take the version as an argument, i.e. { stdenv, fetchurl, version ? 5.3 }: versionedDerivation cups version { ... } There is nothing about the function interface that tells you what the valid values of version are, and thus what versions are supported. What you should do is return an attribute set containing the supported versions: { stdenv, fetchurl }: { php_5_3 = ...; php_5_4 = ...; } Of course, you can factor out the commonality between versions any way you want, e.g. let makePHP = common: stdenv.mkDerivation ({ ... } // common); in { php_5_3 = makePHP { name = php-5.3.50; src = fetchurl { ... }; } ... } Alternatively, you can have separate files for each expression that include a file common.nix for the common stuff (like we do for the Linux kernel). == QUOTE END I agree that it does make sense to docmuent which versions are supported. The easy answer is: The default version is documented in the argument list, the others just mean can be build - or there has been a time where it did build unless they get referenced somewhere (most likely in all-packages.nix, see php5_3fpm example above. Whether this should be documented this way is another story. = I've created a new page: https://nixos.org/w/index.php?title=Open_issues:maintenance_properties_of_a_packageaction=submit Documenting wich packages are how well supported is an open issue IMHO. This just is yet another way. The pattern Eelco Dolstra is discussing is used in different context and with some varation, eg in python-packages.nix: python-packages.nix takes as arguments: { pkgs, python, lowPrio }: Thus while its not taking a version, you still have no idea which python you may pass (or python versions ..) - thus IMHO its not that much differing :) A similar argument could be applied to systems. (eg darwin vs x86_64 i686): php.5.3.darwin to indicate its fine to be used on darwin. From this point of view there is not that much wrong by versionedDerivation, the only change neccessary would be making it return all versions as attrs so that such usage would be valid: phps =import php/default.nix; php_5_3 = import php/default.nix { }.5.3.x; php_5_4 = import php/default.nix { }.5.4.x; Thus does it differ that much from [Example 3] above which looks like this: php5_3fpm = php5_3.override { sapi = fpm; version = 5.3.x; }; How would the perfect PHP nixpkgs implementation look like? let commonConfigureFlagDescription = [ long list .. ]; let phpDerivation = { commonConfigureFlagDescription, version, src_md5_hash, patches ? [], allowFastCGI }: { // the common code merging the options } mergexdebuglikestuff = php: php // { xdebug = .. acp = .. ... = ..; } phps = { php5_2 = mergexdebuglikestuff (phpDerivation { long list of options }); php5_3 = mergexdebuglikestuff (phpDerivation { }); php5_4 = mergexdebuglikestuff (phpDerivation { }); php5_5 = mergexdebuglikestuff (phpDerivation { }); } In the end is it that much more readable than what I already have? Link - [Example 3] PHP above I totally agree that I should refactor if newer versions happen to be totally different - it just didn't happen that way (yet) could be cause I've been lucky though. Can you reply if you have new arguments about why versionedDeravation is nice/bad so that we get a comprehensive list and that I understand which is the best way to rewrite those patches ? ___ 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
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 /etc/nixos/nixpkgs -A cinnamon.cinnamon-session works for me (I use a checkout instead of the channel) ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Accidental force push to nixpkgs
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 nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] versionedDeravation / php fpm / cups 1.7
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 gain. I'm OK with versionedDerivation, if we come to consensus it's better than current approach and someone ports current codebase to use versionedDerivation. TL;DR: having more than one way to share code between packages gives more burden to maintenance than it does actually to improve packaging. On Mon, Apr 7, 2014 at 7:25 PM, Michael Raskin 7c6f4...@mail.ru wrote: 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 than status quo. Given that dependencies are hidden from all-packages.nix now, I think that versionedDerivation + full set of suffixed versions in all-packages.nix make it obvious both for those reading the default.nix and for those reading all-packages.nix which versions could work. discussing versionedDerivation - arguments == In https://github.com/NixOS/nixpkgs/issues/1957 Eelco Dolstra described what he dislikes: == QUOTE My main objection to versionedDerivation is the wackiness of having package functions that take the version as an argument, i.e. { stdenv, fetchurl, version ? 5.3 }: versionedDerivation cups version { ... } There is nothing about the function interface that tells you what the valid values of version are, and thus what versions are supported. What you should do is return an attribute set containing the supported versions: { stdenv, fetchurl }: { php_5_3 = ...; php_5_4 = ...; } Of course, you can factor out the commonality between versions any way you want, e.g. let makePHP = common: stdenv.mkDerivation ({ ... } // common); in { php_5_3 = makePHP { name = php-5.3.50; src = fetchurl { ... }; } ... } Alternatively, you can have separate files for each expression that include a file common.nix for the common stuff (like we do for the Linux kernel). == QUOTE END I agree that it does make sense to docmuent which versions are supported. The easy answer is: The default version is documented in the argument list, the others just mean can be build - or there has been a time where it did build unless they get referenced somewhere (most likely in all-packages.nix, see php5_3fpm example above. Whether this should be documented this way is another story. = I've created a new page: https://nixos.org/w/index.php?title=Open_issues:maintenance_properties_of_a_packageaction=submit Documenting wich packages are how well supported is an open issue IMHO. This just is yet another way. The pattern Eelco Dolstra is discussing is used in different context and with some varation, eg in python-packages.nix: python-packages.nix takes as arguments: { pkgs, python, lowPrio }: Thus while its not taking a version, you still have no idea which python you may pass (or python versions ..) - thus IMHO its not that much differing :) A similar argument could be applied to systems. (eg darwin vs x86_64 i686): php.5.3.darwin to indicate its fine to be used on darwin. From this point of view there is not that much wrong by versionedDerivation, the only change neccessary would be making it return all versions as attrs so that such usage would be valid: phps =import php/default.nix; php_5_3 = import php/default.nix { }.5.3.x; php_5_4 = import php/default.nix { }.5.4.x; Thus does it differ that much from [Example 3] above which looks like this: php5_3fpm = php5_3.override { sapi = fpm; version = 5.3.x; }; How would the perfect PHP nixpkgs implementation look like? let commonConfigureFlagDescription = [ long list .. ]; let phpDerivation = { commonConfigureFlagDescription, version, src_md5_hash, patches ? [], allowFastCGI }: { // the common code merging the options } mergexdebuglikestuff = php: php // { xdebug = .. acp = .. ... = ..; } phps = { php5_2 = mergexdebuglikestuff (phpDerivation { long list of options }); php5_3 = mergexdebuglikestuff (phpDerivation { }); php5_4 = mergexdebuglikestuff (phpDerivation { }); php5_5 = mergexdebuglikestuff (phpDerivation { }); } In the end is it that much more readable
Re: [Nix-dev] Accidental force push to nixpkgs
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 shlevy/nixpkgs.git. Any commits since 1ccb3c07316084983a34507e8324df1a5c4c4bd4 will need to be re-pushed. So sorry! ~Shea ___ 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
Re: [Nix-dev] after install problem
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 hardware.opengl.videoDrivers = [ nvidia] and then I see this error : The option hardware.opengl defined in /etc/nixos/configuration.nix does not exist. Roelof ___ 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
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 not a problem. nix-instantiate /etc/nixos/nixpkgs -A cinnamon.cinnamon-session works for me (I use a checkout instead of the channel) Error: getting status of /etc/nixos/nixpkgs : no file or directory. Roelof ___ 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
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 not a problem. nix-instantiate /etc/nixos/nixpkgs -A cinnamon.cinnamon-session works for me (I use a checkout instead of the channel) Error: getting status of /etc/nixos/nixpkgs : no file or directory. As I said, I have a checkout. You need to susbstitute the path of a NixPkgs checkout wherever you git-cloned it. I guess you'll need it anyway… ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] after install problem
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 hardware.opengl.videoDrivers = [ nvidia] and then I see this error : The option hardware.opengl defined in /etc/nixos/configuration.nix does not exist. OK, on an old checkout services.xserver.videoDrivers may be a better choice. ___ 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
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 nixos.pkgs.cinnamon.cjs cjs-2.0.0 nixos.pkgs.cinnamon.gnome_common gnome-common-3.10.0 your NixOS install is not functional (and I guess *nothing* will be installable). Make sure your'e on a channel: $ sudo nix-channel --list nixos http://nixos.org/channels/nixos-unstable Best regards, Bjørn Forsman ___ 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
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 nixos.pkgs.cinnamon.cinnamon-translations cinnamon-translations-2.0.3 nixos.pkgs.cinnamon.cjs cjs-2.0.0 nixos.pkgs.cinnamon.gnome_common gnome-common-3.10.0 your NixOS install is not functional (and I guess *nothing* will be installable). Make sure your'e on a channel: $ sudo nix-channel --list nixos http://nixos.org/channels/nixos-unstable Best regards, Bjørn Forsman I can install firefox and git without any problems. With some help with irc I get it installed by nix-env -f ~/devel/nixpkgs cinnamon.cinnamon-session. Tommorrow I will look if nix-channel --list will display. Roelof ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] reboot hangs most of the time
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 more likely to fail on machines with a long uptime (like servers), whereas my desktop machine and laptop -- which reboot frequently --, hardly ever hang this way. Unfortunately, it's quite hard to debug this kind of thing ... :-( Take care, Peter ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] stripHash
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 in my environment--nixpkgs from the unstable channel, recently updated). Digging further: [nix-shell:/tmp/build]$ type stripHash stripHash is a function stripHash () { strippedName=$(basename $1); if echo $strippedName | grep -q '^[a-z0-9]\{32\}-'; then strippedName=$(echo $strippedName | cut -c34-); fi } It seems that it's correctly stripping off the name, but not echoing it as the manual suggests. And sure enough, poking around in builder scripts in nixpkgs, there are lots of uses of stripHash that follow this pattern: $(stripHash $foo; echo $strippedName) Is this a bug that everybody just works around, or is it the desired behaviour? Colin ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Hash Collisions
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 tip Marc. Aloha, RK. On Tue, Apr 8, 2014 at 12:28 AM, Kirill Elagin kirela...@gmail.com wrote: 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 output doesn't say that there is an error, those are not errors, just info. You can safely ignore those collisions. This module thing is also not an error, you can safely ignore it. Initrd is trying to load the module just in case, and if it fails, that's OK the module is just skipped. -- Кирилл Елагин On Mon, Apr 7, 2014 at 5:48 PM, Thomas Bereknyei tombe...@gmail.comwrote: 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.comwrote: 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/store/yccdr2mdj8yb7qm505bsam0wqbsqvck3-modprobe/sbin/modprobe' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/llistxattr.2.gz' and `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/llistxattr.2.gz' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/lremovexattr.2.gz' and `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/lremovexattr.2.gz' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/lsetxattr.2.gz' and `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/lsetxattr.2.gz' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. collision between `/nix/store/26392g24x9d1si4f214ssdlb90nff2d9-network-manager-applet-0.9.8.8/share/glib-2.0/schemas/gschemas.compiled' and `/nix/store/iql54c5b8xr0q81mx255xivw72fcibmf-gst-plugins-bad-0.10.23/share/glib-2.0/schemas/gschemas.compiled' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69. Second error message root module: scsi_wait_scan modprobe: FATAL: Module scsi_wait_scan not found. I don't even have any scsi hardware, so how do I make modprobe skip loading it. Aloha, RK. ___ 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 ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] stripHash
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 implementation [2]. It's possible the manual became incorrect. Does anyone else know how stripHash should behave? [1] https://nixos.org/wiki/NixPkgs_Standard_Environment#Library_Functions [2] https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L418 On Apr 7, 2014 8:39 PM, Colin Putney co...@wiresong.com wrote: 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 in my environment--nixpkgs from the unstable channel, recently updated). Digging further: [nix-shell:/tmp/build]$ type stripHash stripHash is a function stripHash () { strippedName=$(basename $1); if echo $strippedName | grep -q '^[a-z0-9]\{32\}-'; then strippedName=$(echo $strippedName | cut -c34-); fi } It seems that it's correctly stripping off the name, but not echoing it as the manual suggests. And sure enough, poking around in builder scripts in nixpkgs, there are lots of uses of stripHash that follow this pattern: $(stripHash $foo; echo $strippedName) Is this a bug that everybody just works around, or is it the desired behaviour? Colin ___ 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
Re: [Nix-dev] cannot install cinnamon-session
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 cinnamon-session-2.0.6 nixos.pkgs.cinnamon.cinnamon-translations cinnamon-translations-2.0.3 nixos.pkgs.cinnamon.cjs cjs-2.0.0 nixos.pkgs.cinnamon.gnome_common gnome-common-3.10.0 your NixOS install is not functional (and I guess *nothing* will be installable). Make sure your'e on a channel: $ sudo nix-channel --list nixos http://nixos.org/channels/nixos-unstable I see this output; nixos http://nixos.org/channels/nixos-13.10 Roelof ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev