[Nix-dev] Curious on how to configure nginx

2014-03-12 Thread Wout Mertens
Hi, I just discovered NixOS and I'm stoked! Here's a question I couldn't find an answer to easily: Suppose you're running nginx as a proxy for a bunch of services. How would you configure that? Normally, I'd install the latest nginx and then change its configuration by adding files to

Re: [Nix-dev] Curious on how to configure nginx

2014-03-12 Thread Wout Mertens
On Wed, Mar 12, 2014 at 11:29 AM, Lluís Batlle i Rossell vi...@viric.namewrote: On Wed, Mar 12, 2014 at 11:28:26AM +0100, Wout Mertens wrote: Here's a question I couldn't find an answer to easily: Suppose you're running nginx as a proxy for a bunch of services. How would you configure

Re: [Nix-dev] Problems installing NixOS with btrfs from a USB stick

2014-04-15 Thread Wout Mertens
I fixed it by stracing mkfs. btrfs and creating a symlink to /. Basically it gets confused by the bind mounts and looks for root at the original location. So just strace -eopen mkfs... and look for enoent. On phone, sorry for lack of details. On Apr 13, 2014 12:41 PM, Alexei Robyn

Re: [Nix-dev] Problems installing NixOS with btrfs from a USB stick

2014-04-15 Thread Wout Mertens
Actually, I wasn't being clear, I only fixed it for me :-) Sorry... On Apr 16, 2014 3:11 AM, Thomas Strobel ts...@cam.ac.uk wrote: Thank you very much for looking into it and fixing it so quickly! On Tue, 2014-04-15 at 08:52 +0200, Wout Mertens wrote: I fixed it by stracing mkfs. btrfs

Re: [Nix-dev] Problems installing NixOS with btrfs from a USB stick

2014-04-17 Thread Wout Mertens
:09:32AM +0200, Wout Mertens wrote: Actually, I wasn't being clear, I only fixed it for me :-) I remember going through this too, two years ago. At some point I reported that upstream, and as I didn't install anything else, I hoped someone fixed it. On Apr 16, 2014 3:11 AM, Thomas Strobel ts

Re: [Nix-dev] Unable to install NixOS unstable in UEFI system

2014-04-27 Thread Wout Mertens
It looks like you are trying to do a UEFI boot but not providing the correct partition mounted in /boot. https://wiki.archlinux.org/index.php/Gummiboot#Updating On Apr 27, 2014 2:15 PM, José Romildo Malaquias j.romi...@gmail.com wrote: Hello. When installation NixOS unstable on my x86_64

Re: [Nix-dev] Unable to install NixOS unstable in UEFI system

2014-04-28 Thread Wout Mertens
PM, Luca Bruno lethalma...@gmail.com wrote: On 28/04/2014 13:50, José Romildo Malaquias wrote: On Mon, Apr 28, 2014 at 06:30:12AM +0200, Wout Mertens wrote: It looks like you are trying to do a UEFI boot but not providing the correct partition mounted in /boot. https

Re: [Nix-dev] How to actually get rid of things from the nix-env -qs list?

2014-04-28 Thread Wout Mertens
Hmmm - nix-build also has --run-env which makes a temporary environment but is listed in the source as obsolete. I wonder what the correct way is, nix-shell doesn't build your derivation. https://github.com/NixOS/nix/blob/2b6c8ef40121fdc418551e9b780bb909477c9a3c/scripts/nix-build.in#L196 Wout.

Re: [Nix-dev] Nixos boot fails at stage 1 in virtualbox

2014-05-12 Thread Wout Mertens
Looks like your root disk got corrupted? On May 12, 2014 10:19 AM, Corentin Henry corentinhe...@gmail.com wrote: Hi, I am trying to install Nixos in virtualbox. I follow insttructions from here : https://nixos.org/wiki/Installing_NixOS_in_a_VirtualBox_guest $ fdisk /dev/sda ;# Create only

Re: [Nix-dev] Nixos boot fails at stage 1 in virtualbox

2014-05-13 Thread Wout Mertens
I think you should keep your filesystem config as an attribute set, not an array. The module maps it to an array internally by copying the name into mountPoint if it doesn't exist and using attrValues. On May 14, 2014 2:33 AM, Corentin Henry corentinhe...@gmail.com wrote: Hi, Thanks for your

Re: [Nix-dev] builtins.toPath returns ... a string?

2014-05-22 Thread Wout Mertens
... But that was not right? https://github.com/nixos/nix/commit/17dc306aa32c48dcde6bfc12ad5e4b48f6b88974 On May 22, 2014 9:47 PM, Shea Levy s...@shealevy.com wrote: Possibly relevant discussion: https://github.com/NixOS/nix/pull/47 On Thu, May 22, 2014 at 09:04:19PM +0400, Kirill Elagin wrote:

Re: [Nix-dev] Updating /etc/nix/nix.conf before building packages during nixos-rebuild

2014-05-24 Thread Wout Mertens
You know, this feels a little wrong. /etc/nixos+nixpkgs describes the whole system, including how to build it, and here the build process will differ depending on previous state. Wouldn't it make more sense to build the nix config before building the rest? Or at least use the new config for the

Re: [Nix-dev] hydra build priorities based on package popularity

2014-05-24 Thread Wout Mertens
Hi Mateusz, What I do is update the channel and then check out the commit that corresponds to it. That way, only your changes should trigger compiles. On May 23, 2014 1:02 AM, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: Hi, Is there some kind of a priority system on Hydra? As far as I

Re: [Nix-dev] Problem with local hydra, build-max-jobs not an integer

2014-05-24 Thread Wout Mertens
This seems to be triggered by https://github.com/NixOS/nix/blob/master/src/libstore/globals.cc#L124 , which somehow doesn't get an integer value for build-max-jobs... Do a recursive grep for build-max-jobs, make sure you're not setting it anywhere else? On Fri, May 23, 2014 at 12:17 AM, Luca

Re: [Nix-dev] GCC in pkgs.buildEnv.paths

2014-05-24 Thread Wout Mertens
Did you figure this out? I'm curious too... On May 21, 2014 9:59 PM, Павел Чуприков pschupri...@gmail.com wrote: Hello, Following the https://nixos.org/wiki/Howto_keep_multiple_packages_up_to_date_at_once, I came up with my ~/.nixpkgs/config.nix file looking like this (for testing

Re: [Nix-dev] GCC in pkgs.buildEnv.paths

2014-05-25 Thread Wout Mertens
Maybe use --tree on nix-store? Not at my computer. On May 25, 2014 10:13 AM, Kirill Elagin kirela...@gmail.com wrote: Here is what I see (this is a diff of references of gccWrapper for gcc vs. testgcc): ~ /nix/store/x0ml8lx5220diw4iplia8ry240smb4vl-add-flags

Re: [Nix-dev] Mate-on-Nixos: nix-shell runs OK, but nix-build hangs when compiling libmateweather

2014-05-26 Thread Wout Mertens
Build it with -K, break and go check out what it does to build stamp-locations. Possibly it's using a tty or so and you would have to patch the make file. Still, weird. On May 27, 2014 2:31 AM, Anderson Torres torres.anderson...@gmail.com wrote: Hello, Nixers! I am with another problem when

Re: [Nix-dev] [nixos] The necessity of UEFI Secure Boot

2014-05-26 Thread Wout Mertens
So grub doesn’t work? I thought it did? I saw that the Surface Pro 3 is a Secure Booting UEFI device... It would make a nice NixOS laptop :-) Also, the Ubuntu boot loader is apparently signed by Microsoft. Just random thoughts sorry. Wout. On May 26, 2014 2:44 PM, Third3ye tredje...@gmail.com

[Nix-dev] Using Nixpkgs outside of NixOS

2014-05-29 Thread Wout Mertens
I think there is room for improvement for installing and using nixpkgs on another distribution. I see two big problems: 1. installation 2. environment variables Installation: The single-user installation is cute, but realistically you need root anyway to create /nix so it would be nice

Re: [Nix-dev] Using Nixpkgs outside of NixOS

2014-05-29 Thread Wout Mertens
Another issue I just remembered is that of setuid binaries. NixOS has a mechanism for it, and it could just as easily be used elsewhere. Without it, you can't easily use qemu for example. Wout. On Thu, May 29, 2014 at 5:28 PM, Wout Mertens wout.mert...@gmail.comwrote: I think there is room

Re: [Nix-dev] Using Nixpkgs outside of NixOS

2014-05-29 Thread Wout Mertens
On May 29, 2014 6:58 PM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 29/05/14 18:34, Wout Mertens wrote: Another issue I just remembered is that of setuid binaries. NixOS has a mechanism for it, and it could just as easily be used elsewhere. Without it, you can't easily use

Re: [Nix-dev] Using Nixpkgs outside of NixOS

2014-05-29 Thread Wout Mertens
On Thu, May 29, 2014 at 10:23 PM, John Wiegley jo...@newartisans.com wrote: Wout Mertens wout.mert...@gmail.com writes: I think there is room for improvement for installing and using nixpkgs on another distribution. I see two big problems: 1. installation 2. environment variables

Re: [Nix-dev] fetching tarballs recursively

2014-05-30 Thread Wout Mertens
I turned that into a wiki page with bad formatting (on phone) https://nixos.org/wiki/Download_all_sources I hope my explanation is correct. Wout. On May 30, 2014 10:59 AM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 30/05/14 09:48, Sergey Mironov wrote: Hi! I am managing an

Re: [Nix-dev] New website

2014-05-30 Thread Wout Mertens
Shell: why don't you make a mockup or create a pull request: https://github.com/NixOS/nixos-homepage Ertugrul: Looks like your wish was granted: https://github.com/NixOS/nixos-homepage/commit/6803987bce4ff4bca1a5482ef25bfa99f4023538 On Fri, May 30, 2014 at 3:53 PM, Shell Turner

Re: [Nix-dev] New website

2014-05-31 Thread Wout Mertens
So concretely: - Help should be Documentation or Docs, I tripped over the same thing - I miss the very visible introduction to each of the components - Nix begets Nixpkgs begets NixOS begets NixOps (so is DisNix dead?). - The Projects pulldown could be converted into vertical

Re: [Nix-dev] New website

2014-06-01 Thread Wout Mertens
On Sun, Jun 1, 2014 at 2:19 AM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Obligatory link: http://shouldiuseacarousel.com/ To be fair, this carousel doesn't stop on mouseover, and it complains that users don't interact with them. I see carousels more as a highlighter for lazy visitors.

[Nix-dev] KDE 4.13.1?

2014-06-01 Thread Wout Mertens
Hi all, what is the procedure for upgrading KDE? Is it simply creating a new kde-4.13 tree with the new source versions or is it more involved? Is anybody working on this? Cheers, Wout. ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] New website

2014-06-02 Thread Wout Mertens
Hi Eelco! On Mon, Jun 2, 2014 at 3:58 PM, Eelco Dolstra eelco.dols...@logicblox.com wrote: On 01/06/14 09:58, Wout Mertens wrote: * Nixpkgs should be more visible Actually, a major goal in the redesign was to *get rid* of all the non-NixOS stuff. It's the NixOS homepage, after all

Re: [Nix-dev] KDE 4.13.1?

2014-06-03 Thread Wout Mertens
-forward update. I'll get there. Wout. On Mon, Jun 2, 2014 at 4:59 PM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi Wout, On 01/06/14 18:45, Wout Mertens wrote: what is the procedure for upgrading KDE? Is it simply creating a new kde-4.13 tree with the new source versions

Re: [Nix-dev] KDE 4.13.1?

2014-06-03 Thread Wout Mertens
I'll add it. On Tue, Jun 3, 2014 at 11:24 AM, Vladimír Čunát vcu...@gmail.com wrote: On 06/02/2014 04:59 PM, Eelco Dolstra wrote: A bit more: * Copy kde-4.12 to kde-4.13. * Download all of KDE locally, via wget -r http://download.kde.org/stable/4.13.1; or something like that. * Run

Re: [Nix-dev] Using Nixpkgs outside of NixOS

2014-06-03 Thread Wout Mertens
On Tue, Jun 3, 2014 at 8:30 PM, Kirill Elagin kirela...@gmail.com wrote: Obviously systemd would then have to not do things that udev etc are already doing... Just running services, opening sockets, handling cgroups... I doubt systemd can do this. First of all, with the new kernel cgroups

Re: [Nix-dev] New website

2014-06-03 Thread Wout Mertens
I really don't like that Nixpkgs is being buried in favor of NixOS. More people using Nixpkgs = more bugs found+fixed, more packages, newer versions, more switches to NixOS. Nixpkgs is a stepping stone. Why point Homebrew users to Nix? They only want to have an nginx install, or a more recent

Re: [Nix-dev] Using Nixpkgs outside of NixOS

2014-06-04 Thread Wout Mertens
at 1:21 AM, Wout Mertens wout.mert...@gmail.com wrote: On Tue, Jun 3, 2014 at 8:30 PM, Kirill Elagin kirela...@gmail.com wrote: Obviously systemd would then have to not do things that udev etc are already doing... Just running services, opening sockets, handling cgroups... I doubt

Re: [Nix-dev] Fonts

2014-06-10 Thread Wout Mertens
Shouldn't the fonts module add defined fonts to environment.systemPackages then? On Tue, Jun 10, 2014 at 7:03 AM, Michael Raskin 7c6f4...@mail.ru wrote: On 06/10/2014 02:29 AM, Daniel Bergey wrote: A few weeks back I struggled with fonts, asked some questions on IRC, and wrote up what I

Re: [Nix-dev] Fonts

2014-06-10 Thread Wout Mertens
, 0 dirs ~~~ Then `fc-list` and `grep` for your font. If it's there, then the issue is in your application. -- Кирилл Елагин On Tue, Jun 10, 2014 at 12:05 PM, Wout Mertens wout.mert...@gmail.com wrote: Shouldn't the fonts module add defined fonts

Re: [Nix-dev] Fonts

2014-06-10 Thread Wout Mertens
I updated the page. On Tue, Jun 10, 2014 at 5:33 PM, Daniel Bergey ber...@alum.mit.edu wrote: On 2014-06-10 at 08:46, Wout Mertens wrote: True... so https://nixos.org/wiki/Fonts is wrong :) Well, no surprise that after 2 months using NixOS I'm still confused. :) But it turns out the way

Re: [Nix-dev] multiple-ouputs branch

2014-06-10 Thread Wout Mertens
is there anything we can do to help, or is the interface still being defined? On Tue, Jun 10, 2014 at 2:13 PM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 09/06/14 17:35, Pieter Noordhuis wrote: My question: is the work in the multiple-outputs branch ongoing and will it be

Re: [Nix-dev] Fonts

2014-06-10 Thread Wout Mertens
Some of the options are a bit more complex than simply the font package (at least the ghostscript one), and I forgot to remove enableCorefonts :) On Tue, Jun 10, 2014 at 8:36 PM, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: On 06/10/2014 08:26 PM, Wout Mertens wrote: I updated the page

[Nix-dev] pipelight

2014-06-11 Thread Wout Mertens
So, did anybody take a stab at getting http://pipelight.net/cms/page-wine.html working yet? It uses a patched Wine 32 bit build to provide Silverlight and other Windows-only browser plugins on Linux. I thought I'd get some opinions before tackling it... Any experiences with 32bit builds on 64bit

Re: [Nix-dev] Binary packages for custom store path installs

2014-06-12 Thread Wout Mertens
When you compile things, they will store the absolute paths to their dependencies, be it libraries, fonts, datafiles... If it didn't do that, installs wouldn't be stateless. Try asking your sysadmin if you can have /nix, you never know :-) In any case, if you don't manage to compile Nix,

Re: [Nix-dev] Fw: Re: Linux Action Show is calling

2014-06-15 Thread Wout Mertens
I have the distinct impression that Eelco neither wants to promote nor discourage NixOS evangelism... which I totally understand. More newbies means more noise but OTOH means more eyeballs and developers. In any case, +1 from me. Would be nice to have more than 1 person in the interview though...

Re: [Nix-dev] Testing NixOS modules.

2014-06-16 Thread Wout Mertens
You can do a nixos-rebuild test or a nix-build - A system. Either way you have to make sure it's using your own nixpkgs/nixos. Then you can look at the resulting cron job in the result. On Jun 16, 2014 6:57 AM, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: Greetings, I just opened [1] and

[Nix-dev] How to install ruby gems?

2014-06-16 Thread Wout Mertens
I took a look at the sparse documentation on the Wiki, and couldn't figure out the Ruby overlay thing. I want to run a Ruby application which comes with a Gemfile and I resorted to starting a *nix-shell -p ruby -p rubyLibs.bundler* under which I do *bundle install --path=$PWD*. This more or less

Re: [Nix-dev] Overwriting or merging Nix expressions

2014-07-07 Thread Wout Mertens
Hi Roger, to override in this way, you can merge attribute sets with the // operator, which will prefer the attribute on the right-hand side. http://nixos.org/nix/manual/#idm47361539098656 you get the duplicate error because the language is functional, everything at the same level is evaluated

Re: [Nix-dev] nixops No such file or directory after creation

2014-08-20 Thread Wout Mertens
Just create a wrapper for nixops that calls nix-shell --pure -p nix -p nixos --command nixops? Wout. On Aug 20, 2014 6:56 PM, Richard Wallace rwall...@thewallacepack.net wrote: Aha! Because I started with `nix-shell --pure -p nixops` none of the nix commands were in my $PATH and I didn't even

Re: [Nix-dev] nixops No such file or directory after creation

2014-08-21 Thread Wout Mertens
just aren't getting along. If I could get that resolved, I think I'd be off to the races. :) Rich On Wed, Aug 20, 2014 at 11:38 AM, Wout Mertens wout.mert...@gmail.com wrote: Just create a wrapper for nixops that calls nix-shell --pure -p nix -p nixos --command nixops? Wout. On Aug 20

Re: [Nix-dev] nixops No such file or directory after creation

2014-08-21 Thread Wout Mertens
21, 2014 at 3:13 AM, Wout Mertens wout.mert...@gmail.com wrote: Hi Rich, you have to specify the attribute for virtualbox, not the package name. So linuxPackages.virtualbox in this case. You can find the attributes with nix-env -qaP Wout. On Thu, Aug 21, 2014 at 12:02 AM, Richard Wallace

[Nix-dev] Sprint: Hangout / Skype / some sort of livestream?

2014-08-23 Thread Wout Mertens
Hi Sprinters, Wel there be any livestream? Unfortunately I couldn't make it but instead me and some friends are doing a mini sprint today here in Belgium. Shall we try to connect over video or is irc sufficient? Wout. ___ nix-dev mailing list

Re: [Nix-dev] Package archeology in nixpkgs

2014-09-01 Thread Wout Mertens
Don't forget the nix-env -u case which updates based on name (in fact, that kinda sucks for sub-attributes like python packages, there are lots of attributes mapping to the same names). Wout. On Mon, Sep 1, 2014 at 10:44 PM, Florent Becker florent.bec...@ens-lyon.org wrote: On 01/09/2014

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Wout Mertens
As a sysadmin, I love systemd and journald. If you want to maintain lots of disparate things and look all over the OS while troubleshooting, good for you, but systemctl and journalctl make life so much easier. Upstart is a very poor substitute. Anyway, systemd is only available on Linux kernels

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-02 Thread Wout Mertens
On Tue, Sep 2, 2014 at 12:05 PM, Vladimír Čunát vcu...@gmail.com wrote: On 09/01/2014 10:59 PM, Wout Mertens wrote: Furthermore, it's still not available out-of-the-box in Docker, so you can't install a NixOS image in Docker. IIRC, at the sprint last week, @offlinehacker claimed he made

Re: [Nix-dev] NixOS on Azure?

2014-09-06 Thread Wout Mertens
... And is anybody working on making NixOps work with Azure? Wout. On Sep 6, 2014 5:46 AM, Shea Levy s...@shealevy.com wrote: How is the initial connection managed? Does Azure provide a console, or some interface to provide the VM with an SSH public key, or some such? On Fri, Sep 05, 2014 at

Re: [Nix-dev] chromium widevine CDM

2014-09-15 Thread Wout Mertens
Circumstantial evidence : my netflix started working lots better on Mac, because it switched to HTML5 playing. I indeed have the widevine plugin now. Wout. On Sep 15, 2014 3:36 PM, Mathijs Kwik math...@bluescreen303.nl wrote: Hi all, Recently, netflix enabled support for the chrome browser,

Re: [Nix-dev] fixed-output derivation that *also* depend on (some of) its inputs?

2014-09-22 Thread Wout Mertens
Isn't the whole point of the fixed-output derivations that the means of getting there doesn't matter? So if you change the build script but leave the output hash the same, you're basically saying that the build script will generate the same output. I think what you want is to remove a build

Re: [Nix-dev] Zero Hydra Failures (ZHF) project for NixOS

2014-09-22 Thread Wout Mertens
So what is the status? I want to help because I think there's a huge difference between 0 and 1. If we have 0 failures, hopefully we'll try harder to keep it that way. Anyway I had a look at the latest evaluation of trunk-combined and it says there are 1359 still failing...

Re: [Nix-dev] Grub2 install error on latest unstable channel

2014-09-22 Thread Wout Mertens
Does `nixos-rebuild build-vm-with-bootloader` work? If so it would be just your system/partition layout? On Mon, Sep 22, 2014 at 10:45 PM, Bjørn Forsman bjorn.fors...@gmail.com wrote: Hi all, After the long awaited unstable channel update (yay!), I unfortunately get this grub2 install error:

Re: [Nix-dev] Grub2 install error on latest unstable channel

2014-09-23 Thread Wout Mertens
, 2014 at 9:01 AM, Bjørn Forsman bjorn.fors...@gmail.com wrote: On 23 September 2014 08:32, Bjørn Forsman bjorn.fors...@gmail.com wrote: On 23 September 2014 08:13, Bjørn Forsman bjorn.fors...@gmail.com wrote: On 22 September 2014 23:21, Wout Mertens wout.mert...@gmail.com wrote: Does

Re: [Nix-dev] Grub2 install error on latest unstable channel

2014-09-23 Thread Wout Mertens
Worthy of an issue tagging @wkennington in any case :-) Wout. On Sep 23, 2014 12:02 PM, Wout Mertens wout.mert...@gmail.com wrote: Or this one, which adds blkid: https://github.com/NixOS/nixpkgs/commit/36614ff3e290a9330dd8e29bdc6cc38ede1e7001 ? On Tue, Sep 23, 2014 at 9:45 AM, Domen Kožar

Re: [Nix-dev] nix-1.7 on armv6l-linux

2014-09-25 Thread Wout Mertens
I've stared at it wistfully but didn't get around to it yet :) Can you please add --show-trace so we can see how the failure happens? Basically, you're in this bit of code:

Re: [Nix-dev] Security channel proposal

2014-09-25 Thread Wout Mertens
It sounds like a necessary evil. Another option would be to make Hydra super fast... What has been explored to optimize compile speeds? Using distcc, ccache, SSD, elastic scaling? What if we had a security build fund that we could use to briefly run 500 machines to complete security builds?

Re: [Nix-dev] Security channel proposal

2014-09-25 Thread Wout Mertens
On Thu, Sep 25, 2014 at 2:41 PM, Michael Raskin 7c6f4...@mail.ru wrote: It sounds like a necessary evil. Another option would be to make Hydra super fast... What has been explored to optimize compile speeds? Using distcc, ccache, SSD, elastic scaling? What if we had a security build fund

Re: [Nix-dev] Zero Hydra Failures (ZHF) project for NixOS

2014-09-25 Thread Wout Mertens
/0b499fb96350636ccb4be1c1416a8ac8a22eef63...ddf5841d74a6037197d0f8aa24a2f3ef9b6de1ba but I don't see anything that would impact that. Odd. Is anybody even using that? Wout. On Mon, Sep 22, 2014 at 2:13 PM, Wout Mertens wout.mert...@gmail.com wrote: So what is the status? I want to help because I think

Re: [Nix-dev] Security channel proposal

2014-09-25 Thread Wout Mertens
On Thu, Sep 25, 2014 at 6:33 PM, Michael Raskin 7c6f4...@mail.ru wrote: I bet against our package set being buildable in 2 hours — because of time-critical path likely hitting some non-parallelizable package. I think most large projects can be compiled via distcc, which means that all

Re: [Nix-dev] Making Hydra super fast (was: Security channel proposal)

2014-09-25 Thread Wout Mertens
On Sep 25, 2014 8:19 PM, Peter Simons sim...@cryp.to wrote: Hi Wout, Another option would be to make Hydra super fast... What has been explored to optimize compile speeds? Using distcc, ccache, SSD, elastic scaling? Hydra is appears slow because hydra-evaluator is single-threaded. A

Re: [Nix-dev] Security channel proposal

2014-09-25 Thread Wout Mertens
On Thu, Sep 25, 2014 at 7:07 PM, Wout Mertens wout.mert...@gmail.com wrote: On Thu, Sep 25, 2014 at 6:33 PM, Michael Raskin 7c6f4...@mail.ru wrote: I bet against our package set being buildable in 2 hours — because of time-critical path likely hitting some non-parallelizable package. I

Re: [Nix-dev] Grub2 install error on latest unstable channel

2014-09-28 Thread Wout Mertens
On Sep 28, 2014 3:20 PM, Vladimír Čunát vcu...@gmail.com wrote: Hi. On 09/28/2014 01:59 PM, Bjørn Forsman wrote: On 28 September 2014 13:44, Bjørn Forsman bjorn.fors...@gmail.com wrote: [...] For the last 1-2 years I've had boot.loader.grub.device = /dev/disk/by-label/240gb in my

Re: [Nix-dev] NixOS small channel

2014-09-30 Thread Wout Mertens
Just to let you know I'm doing a happy dance right now :-) Great stuff! Wout. On Sep 30, 2014 2:27 AM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, Since last week there is a new NixOS channel: https://nixos.org/channels/nixos-14.04-small This is a variant of the regular NixOS

[Nix-dev] Moving some of the NixOS setup to nixpkgs

2014-10-01 Thread Wout Mertens
Hi all, TL;DR: I'd like to discuss the empty space between declarative NixOS systems and imperative nix-env user profiles. As we all know, nixpkgs provides compiled packages and NixOS ties them together with environment variables, configuration files and systemd services. This dichotomy causes

Re: [Nix-dev] NixOS small channel

2014-10-01 Thread Wout Mertens
Hi Eelco, Can we also have a small channel for unstable? Most of its build products will be reused by the regular jobs, so it shouldn't take away too many resources from regular builds, right? Wout. On Wed, Oct 1, 2014 at 9:00 AM, Luca Bruno lethalma...@gmail.com wrote: On 01/10/2014 03:29,

Re: [Nix-dev] Moving binaries from sbin/ to bin/?

2014-10-02 Thread Wout Mertens
I'm all for it, +1. Wout. On Thu, Oct 2, 2014 at 7:04 PM, Bjørn Forsman bjorn.fors...@gmail.com wrote: Hi, Does anyone mind if we (slowly) move binaries from $out/sbin to $out/bin? Arguments for doing it: 1) The sbin vs bin distinction is an historic relic from the past. It makes little

Re: [Nix-dev] Nix OS installation problems - Where's the hard drive?

2014-10-03 Thread Wout Mertens
What does dmesg say, and what is in /proc/partitions? Also, what kind of hard disk do you have, simple SATA? Wout. On Oct 3, 2014 5:14 AM, Joseph Joe j...@reed.edu wrote: I'm trying to install Nix OS onto my computer. My computer's optical drive is broken, so I tried installing using a live

Re: [Nix-dev] Popularizing Nixpkgs/Nix/NixOS among FLOSS (Free/Libre and Open Source Software) developers

2014-10-04 Thread Wout Mertens
Pretty sure this will happen automatically once nixpkgs is more user-friendly. Imagine that for example the Discourse team could, instead of distributing a VM, say install nix and run nix-env -i discourse, which would install the ruby environment and the required services on any Unix. Right now,

Re: [Nix-dev] Nix OS installation problems - Where's the hard drive?

2014-10-05 Thread Wout Mertens
Hi, No, the live USB doesn't store changes I'm afraid. What you can do is put the Ubuntu kernel on the liveUSB, and boot using that instead of the regular one. That should work, I don't think there are any extra-special kernel features that NixOS needs. Then you can install NixOS on your HD, but

Re: [Nix-dev] NILFS2, NixOS, nixpart and Blivet

2014-10-05 Thread Wout Mertens
FWIW, btrfs and ZFS also do non destructive writes, they're Copy on Write. As a bonus you get unlimited instant snapshots and lots of other wonderful things. I prefer btrfs as it has more of a desktop focus and feature set as well as being in the kernel, but ZFS is more mature. Wout. On Oct 5,

Re: [Nix-dev] NILFS2, NixOS, nixpart and Blivet

2014-10-06 Thread Wout Mertens
On Mon, Oct 6, 2014 at 8:04 AM, Tim Barbour t...@categorical.net wrote: One nice property of NILFS is that every write results in a new checkpoint, which makes it very cheap to check whether a filesystem has been modified (other than via low-level disk-editing). On btrfs you can look at the

Re: [Nix-dev] Failure trying to build node package

2014-10-06 Thread Wout Mertens
Hi Nikolay, this is a long-known problem with nixpkgs, some packages depend on environment variables and these don't get set automatically. To make https work, do `nix-env -i cacert` and then do `export GIT_SSL_CAINFO=$HOME/.nix-profile/etc/ca-bundle.crt`. git clone should now work. We're

Re: [Nix-dev] Failure trying to build node package

2014-10-06 Thread Wout Mertens
On Mon, Oct 6, 2014 at 12:18 PM, Nikolay Amiantov a...@fmap.me wrote: On 10/06/2014 10:26 AM, Wout Mertens wrote: To make https work, do `nix-env -i cacert` and then do `export GIT_SSL_CAINFO=$HOME/.nix-profile/etc/ca-bundle.crt`. git clone should now work. Unfortunately, this does

Re: [Nix-dev] Reengineered npm2nix: call for feedback

2014-10-06 Thread Wout Mertens
Finally got around to testing this (on Darwin): - warn: was a bit confused when the `*nix-build -iA build*` didn't work in the git clone until I figured out I wasn't on the reengineered branch ;-) - wtf: I was working in a project with a pre-existing node_modules, and it was picking

Re: [Nix-dev] Reengineered npm2nix: call for feedback

2014-10-06 Thread Wout Mertens
Hi sander, phantomjs is solved, I used --linkdependencies which makes it break :) Actually, since nix-store allows hardlinking and --linkdependencies doesn't always work, it might be better to remove the option or at least explain the type of errors to expect (module not found). node-fsevents

Re: [Nix-dev] Nix OS installation problems - Where's the hard drive?

2014-10-07 Thread Wout Mertens
On Tue, Oct 7, 2014 at 4:49 AM, Joseph Joe j...@reed.edu wrote: I am still a bit confused. I added the following lines to /etc/nixos/configuration.nix nixpkgs.config.packageOverrides = pkgs: { linux_3_4 = pkgs.linux_3_4.override { extraConfig = ''

Re: [Nix-dev] Anyone care to review my post on the Nix expression language?

2014-10-08 Thread Wout Mertens
Hi James, great reading, I learned a few things! (like that let is a recursive definition, doh :) ) Nix does support the / operator, but it needs spaces or it will be recognized as a path: $ nix-instantiate --eval --expr '4/3' /Users/wmertens/4/3 $ nix-instantiate --eval --expr '6 / 3' 2

Re: [Nix-dev] Failure trying to build node package

2014-10-09 Thread Wout Mertens
On Mon, Oct 6, 2014 at 3:52 PM, Nikolay Amiantov a...@fmap.me wrote: On 10/06/2014 03:36 PM, Wout Mertens wrote: Ok, weird. Try also setting OPENSSL_X509_CERT_FILE to that file? OPENSSL_X509_CERT_FILE was originally set to same path as GIT_SSL_CAINFO. Setting it to /home/... did no effect

Re: [Nix-dev] nix on compute cluster?

2014-10-10 Thread Wout Mertens
I think you could do this. You would set it up so the nix server does the compiles and the grid runs distcc. See the wiki, the raspberry pi page has explanations about distcc. Note that only one node can write to nix store at the same time due to the db. Another option is to have private nix

Re: [Nix-dev] nix on compute cluster?

2014-10-10 Thread Wout Mertens
On Fri, Oct 10, 2014 at 4:34 PM, Andreas Herrmann andreas...@gmx.ch wrote: Thank you for the detailed answer. On Friday 10 October 2014 15:32:52 Wout Mertens wrote: I think you could do this. You would set it up so the nix server does the compiles and the grid runs distcc. See the wiki

Re: [Nix-dev] Nix OS installation problems - Where's the hard drive?

2014-10-10 Thread Wout Mertens
Hmmm, maybe it's missing other required kernel parameters? http://cateee.net/lkddb/web-lkddb/SCSI_SAS_ATA.html seems to suggest you also need to set CONFIG_SCSI_SAS_LIBSAS. I don't know how to run the kernel configurator on nixos :( As part of the install, it downloads the nixpkgs expressions to

Re: [Nix-dev] Seg fault on Arch

2014-10-13 Thread Wout Mertens
Unset your LD_LIBRARY_PATH and vote for https://github.com/NixOS/nix/pull/366 . Wout. On Oct 13, 2014 6:42 PM, Richard Wallace rwall...@thewallacepack.net wrote: Hey all, All of a sudden I'm seeing seg faults with any nix-* commands. Probably due to some Arch package upgrade. I tried

Re: [Nix-dev] Nix OS installation problems - Where's the hard drive?

2014-10-14 Thread Wout Mertens
Hi Joseph Joe, It seems your kernel configuration didn't make it into your image. This is where the configuration is read into the evaluation: https://github.com/NixOS/nixpkgs/blob/master/nixos/default.nix#L1 So it either reads the file pointed to by $NIXOS_CONFIG or it gets nixos-config from

Re: [Nix-dev] Nix OS installation problems - Where's the hard drive?

2014-10-14 Thread Wout Mertens
Argh that's wrong, it's not reading default.nix but release.nix which doesn't let you specify a config. Thinking about that. On Tue, Oct 14, 2014 at 9:54 AM, Wout Mertens wout.mert...@gmail.com wrote: Hi Joseph Joe, It seems your kernel configuration didn't make it into your image

Re: [Nix-dev] Nix OS installation problems - Where's the hard drive?

2014-10-14 Thread Wout Mertens
Mertens wout.mert...@gmail.com wrote: Argh that's wrong, it's not reading default.nix but release.nix which doesn't let you specify a config. Thinking about that. On Tue, Oct 14, 2014 at 9:54 AM, Wout Mertens wout.mert...@gmail.com wrote: Hi Joseph Joe, It seems your kernel configuration

Re: [Nix-dev] Zero Hydra Failures (ZHF) project for NixOS

2014-10-25 Thread Wout Mertens
Sounds good, we have travis in place that can do the check for small changes (x64 only) and the staging branch that serves as inbound. Too bad github doesn't make it easy to move a PR to another branch... We should all ask for that feature. On Sat, Oct 25, 2014, 17:46 Nicolas Pierron

[Nix-dev] Please star the nixpkgs repo

2014-10-28 Thread Wout Mertens
I just noticed that https://github.com/NixOS/nixpkgs has more forks than stars. Stars are a merit indicator on github - more stars means more popular, more eyeballs, more users etc. So I think we should all be making sure we starred https://github.com/NixOS/nixpkgs . Wout.

Re: [Nix-dev] NixOS Live CD (Graphic) Boot Failure

2014-11-03 Thread Wout Mertens
So did you try switching/reseating the cable? Perhaps put the drive on a different port? It does seem to be hardware from search results. It could be that Linux exercises the disk differently from Windows... Of course it is odd that the Linux mint one works. It would be interesting to see which

Re: [Nix-dev] NixOS Live CD (Graphic) Boot Failure

2014-11-03 Thread Wout Mertens
Subject: Re: [Nix-dev] NixOS Live CD (Graphic) Boot Failure Date: Mon, 03 Nov 2014 11:26:33 -0500 From: J. Brian Kelley j...@teksavvy.com j...@teksavvy.com To: Wout Mertens wout.mert...@gmail.com wout.mert...@gmail.com, Raahul Kumar raahul.ku...@gmail.com raahul.ku...@gmail.com CC

Re: [Nix-dev] NixOS Live CD (Graphic) Boot Failure

2014-11-04 Thread Wout Mertens
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 -

Re: [Nix-dev] Travis false-positives

2014-11-04 Thread Wout Mertens
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...

Re: [Nix-dev] Travis false-positives

2014-11-05 Thread Wout Mertens
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

Re: [Nix-dev] configurations repository

2014-11-05 Thread Wout Mertens
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

Re: [Nix-dev] Travis false-positives

2014-11-05 Thread Wout Mertens
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

Re: [Nix-dev] nix-multi-user installation script

2014-11-06 Thread Wout Mertens
On Tue Oct 28 2014 at 10:15:03 PM Andreas Herrmann andreas...@gmx.ch wrote: in the past two weeks or so I have been experimenting with Nix multi-user mode. My goal was to be able to reliably install Nix in multi-user mode on a CentOS 6.5 machine. The result of this was a bash script which

Re: [Nix-dev] nix-multi-user installation script

2014-11-06 Thread Wout Mertens
Aha so from https://github.com/NixOS/nixpkgs/blob/f079cd1721cd50d188f3c32387a074bf00afb34d/nixos/modules/services/misc/nix-daemon.nix#L29-L32 (incidentally, I'd love it if somehow that was generated before running the rest of a nixos-rebuild, so nix options take hold before building) On Thu Nov

  1   2   3   >