Re: [Nix-dev] Travis false-positives
Hi, Isn't travis a special case for the dynamic cache? It only runs 2 jobs at most and only when a PR comes in or a commit is done. Basically it's an extension of Hydra except that it builds PRs and doesn't save build products... Seems to me that it is fine for it to use the dynamic binary cache... Indeed. The amount of pulls from hydra.nixos.org from Travis is pretty limited, so it is ok to use for this. We just don't want a large group of people using it continuously, as the binary cache of hydra.nixos.org only generates nars on-the-fly, and it has no caching of these nars, so they put a significant load on the main Hydra machine, which is already under heavy CPU and IO pressure. Cheers, Rob ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] [***SPAM***] configurations repository
On Tue, Nov 4, 2014 at 5:00 PM, Michael Raskin 7c6f4...@mail.ru wrote: Should we create it (with the same permissions as NixPkgs, probably)? I always consider such live documentation a good thing for initial evaluation of a language... I put mine in https://gist.github.com/DamienCassou/e1e6b3746789276b7b25. I agree that a common repository would be nice. -- 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] configurations repository
On Tue, Nov 4, 2014 at 11:20 PM, Michael Raskin 7c6f4...@mail.ru wrote: That's awesome idea. But I think we have to add lots of comments to this examples (that help a lot while using live code). Or maybe just provide some ideal configs with comments and other without them. I think we need to throw some live configs like we had in SVN: https://nixos.org/websvn/nix/configurations/trunk/ and then 1) there is an incentive to commit real configs when people ask questions, 2) we can add some ideal configs, maybe in a tutorial/ subdirectory. +1 I have learned (and borrowed) a lot from your configs in particular Michael. Having some ideal configs would also be great. It should even be pretty easy to add generic configurations which would be equivalent to task specific distros that could simply be added to imports e.g. a high security config or a pro-audio workstation config. Of course, the ability to mix and match these in NixOS would be far superior to running a separate distro for each task. -- NixOS: The Purely Functional Linux Distribution http://nixos.org ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Travis false-positives
How about putting a caching proxy like Squid in front so the nars are cached? I'd be happy to set it up for you if you don't have time... On Wed, Nov 5, 2014, 09:56 Rob Vermaas rob.verm...@gmail.com wrote: Hi, Isn't travis a special case for the dynamic cache? It only runs 2 jobs at most and only when a PR comes in or a commit is done. Basically it's an extension of Hydra except that it builds PRs and doesn't save build products... Seems to me that it is fine for it to use the dynamic binary cache... Indeed. The amount of pulls from hydra.nixos.org from Travis is pretty limited, so it is ok to use for this. We just don't want a large group of people using it continuously, as the binary cache of hydra.nixos.org only generates nars on-the-fly, and it has no caching of these nars, so they put a significant load on the main Hydra machine, which is already under heavy CPU and IO pressure. Cheers, Rob ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] NixOS Live CD (Graphic) Boot Failure
It would also help to have full dmesg log pasted somewhere. Maybe relevant: http://askubuntu.com/a/235432/56603 On Tue, Nov 4, 2014 at 8:25 PM, Wout Mertens wout.mert...@gmail.com wrote: Can you try the modprobe configs that was suggested? Opening an issue won't help, we can't reproduce and we're the same guys :-) On Tue, Nov 4, 2014, 20:17 J. Brian Kelley j...@teksavvy.com wrote: As a last attempt, I burned the minimal ISO and tried booting it. Exactly the same result - goes nicely until it shows the login prompt whereupon the error message triplets start (doesn't even newline down from the prompt so the first error message is offset somewhat). Seems a bit strange that they start at the point that a keyboard input is required - could the fact that the keyboard is PS/2 connected be a factor? I'm really grasping at straws - do I submit a bug report that simply says install iso(s) don't work? ___ 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] NixOS 14.11 Caterpillar release schedule
On Fri, Oct 24, 2014 at 2:02 AM, Roger Qiu roger@polycademy.com wrote: I would suggest a document that solely focuses on the Nix language. I've read the excellent nix pills and the recent other tutorial on Nix on medium, but I think that having something direct on the document that goes into the Nix language deeply, the standard library, the nix-repl and build would be a great way to introduce the language to newbies independent of Nix as a package manage (which is what the Nix manual currently does). I agree and I'd love to have that written down. However, it doesn't have to do anything with NixOS release. It has much to do with boarding new developers into the community. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] configurations repository
On one hand this is better than on a wiki because it stays up to date. On the other hand it's kind of weird to give other people write access to your own configurations... I also found https://nixos.org/wiki/Real_World_NixOS_Dotfiles , maybe that would be enough, just mention it in the readme and give it a prominent place on the wiki main page? Wout. On Wed, Nov 5, 2014, 11:06 Cillian de Róiste cillian.deroi...@gmail.com wrote: On Tue, Nov 4, 2014 at 11:20 PM, Michael Raskin 7c6f4...@mail.ru wrote: That's awesome idea. But I think we have to add lots of comments to this examples (that help a lot while using live code). Or maybe just provide some ideal configs with comments and other without them. I think we need to throw some live configs like we had in SVN: https://nixos.org/websvn/nix/configurations/trunk/ and then 1) there is an incentive to commit real configs when people ask questions, 2) we can add some ideal configs, maybe in a tutorial/ subdirectory. +1 I have learned (and borrowed) a lot from your configs in particular Michael. Having some ideal configs would also be great. It should even be pretty easy to add generic configurations which would be equivalent to task specific distros that could simply be added to imports e.g. a high security config or a pro-audio workstation config. Of course, the ability to mix and match these in NixOS would be far superior to running a separate distro for each task. -- NixOS: The Purely Functional Linux Distribution http://nixos.org ___ 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] configurations repository
On 11/05/2014 12:37 PM, Wout Mertens wrote: I also found https://nixos.org/wiki/Real_World_NixOS_Dotfiles , maybe that would be enough, just mention it in the readme and give it a prominent place on the wiki main page? That is where I make my configurations available. I like the idea of placing a link to this page more prominently. signature.asc Description: OpenPGP digital signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Limiting number of Hydra jobs
Hi Mateusz, What setting should I set so that it will only ever run specified number of total jobs? you can specify a maximum number of jobs per platform in the systemtypes table of the hydra SQL database: | # psql hydra | psql (9.2.9) | Type help for help. | | hydra=# select * from systemtypes; | system| maxconcurrent | --+--- | i686-linux | 1 | x86_64-linux |10 The default value for unspecified platforms is 2. Best regards, Peter ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Travis false-positives
Hi, On 05/11/14 12:02, Wout Mertens wrote: How about putting a caching proxy like Squid in front so the nars are cached? There already is an Apache reverse proxy in front of it. Since mod_proxy supports caching, it's probably not hard to enable it (though Hydra may need to provide the right HTTP headers for cacheability). -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Travis false-positives
On Wed Nov 05 2014 at 4:04:40 PM Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 05/11/14 12:02, Wout Mertens wrote: How about putting a caching proxy like Squid in front so the nars are cached? There already is an Apache reverse proxy in front of it. Since mod_proxy supports caching, it's probably not hard to enable it (though Hydra may need to provide the right HTTP headers for cacheability). Probably no headers are necessary. Here's the best setup document I could find: https://confluence.atlassian.com/display/DOC/Configuring+Apache+to+Cache+Static+Content+via+mod_disk_cache The htcacheclean cron job is pretty important :) Wout. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] SF meetup?
Hi, Is anybody using Nix in San Francisco? If so, I'd love to meet you! Let's get together and compare notes. Colin ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] configurations repository
https://gist.github.com/dmalikov/613fa59063604e51d323#dotfiles-repositories On 5 November 2014 14:45, Pascal Wittmann pascalwittm...@gmx.net wrote: On 11/05/2014 12:37 PM, Wout Mertens wrote: I also found https://nixos.org/wiki/Real_World_NixOS_Dotfiles , maybe that would be enough, just mention it in the readme and give it a prominent place on the wiki main page? That is where I make my configurations available. I like the idea of placing a link to this page more prominently. ___ 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] NixOS Live CD (Graphic) Boot Failure
If only I knew what I was doing Linux Mint modprobe configs just gets a response that configs does not exist Linux Mint modprobe -c does generate a long list. The first and last entries are: alias symbol:tua9001_attach tua9001 ... ... alias symbol:zl10353_attach zl10353 If this is what is wanted, how do I send it (attachments allowed?) and if not, where should I look (or specific modprobe options and arguments)? It was also suggested that a full dmesg log would help, but that may be difficult as I am booting from the nixos live-cd. Perhaps not impossible if the output could be directed to my flash drive. I think I might be able to make text changes to the .iso (use Peazip to extract the contents and ImgBurn to regenerate the .iso), if some guidance as to what and where. I remain suspicious that this is a device identification problem (like deciding that since the drive is SATA III the controller must be as well (it's actually SATA II). Since I can look into the text portions of the .iso, where should I look? I'd like to see how it compares to the gparted live-cd .iso (it should be far less complex than the Linux Mint and certainly can run my drive). On 2014-11-04 14:25, Wout Mertens wrote: Can you try the modprobe configs that was suggested? ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] SF meetup?
On 5 November 2014 09:19, Colin Putney co...@wiresong.com wrote: Hi, Is anybody using Nix in San Francisco? If so, I'd love to meet you! Let's get together and compare notes. Colin I'm just over in Berkeley. Anyone else? James ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] NixOS Live CD (Graphic) Boot Failure
Thanks. (I had ass-u-me-d that unstable meant bleeding-edge only.) I use UNetBootin with LinuxLive USB Creator as an alternative when I want to force a FAT32 reformat. Either way I seem to have problems with NixOS live-cd (perhaps in the realm of hybrid cds, but I am in way over my head ... ). On 2014-11-05 21:42, Daniel Hlynskyi wrote: I've installed NixOS from flash drive recent days, burned with UNetBootin. So it is definitely possible. The other possibility is if you have GRUB already installed, you can launch GRUB console and run commands like this root=(hd1,1) chainloader +1 boot (https://help.ubuntu.com/community/BootFromUSB) Make sure you flash drive is properly formatted (try FAT32 instead of NTFS). Where could I find one of these old versions? Furthest back I saw was only a year old. Old releases are at http://nixos.org/releases/nixos/unstable/ - I beleive 0.1pre versions are without systemd ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev