[Nix-dev] deploying nix-built software to non-nix linux systems

2014-11-04 Thread Anders Papitto
Hello, I'm interested in using nix/nixos to build an application with its full set of dependencies, and then deploy it to non-nixos machines as a self-contained package (up to and including the system libraries), without root privileges. Ideally I would like to not require that any nix tools be

Re: [Nix-dev] deploying nix-built software to non-nix linux systems

2014-11-04 Thread Eelco Dolstra
Hi, On 04/11/14 00:36, Anders Papitto wrote: I'm interested in using nix/nixos to build an application with its full set of dependencies, and then deploy it to non-nixos machines as a self-contained package (up to and including the system libraries), without root privileges. Ideally I would

Re: [Nix-dev] deploying nix-built software to non-nix linux systems

2014-11-04 Thread Luca Bruno
On 04/11/2014 00:36, Anders Papitto wrote: Hello, I'm interested in using nix/nixos to build an application with its full set of dependencies, and then deploy it to non-nixos machines as a self-contained package (up to and including the system libraries), without root privileges. Ideally I

Re: [Nix-dev] deploying nix-built software to non-nix linux systems

2014-11-04 Thread Lluís Batlle i Rossell
On Tue, Nov 04, 2014 at 10:23:08AM +0100, Eelco Dolstra wrote: Hi, On 04/11/14 00:36, Anders Papitto wrote: I'm interested in using nix/nixos to build an application with its full set of dependencies, and then deploy it to non-nixos machines as a self-contained package (up to and

Re: [Nix-dev] deploying nix-built software to non-nix linux systems

2014-11-04 Thread Michael Raskin
I'm interested in using nix/nixos to build an application with its full set of dependencies, and then deploy it to non-nixos machines as a self-contained package (up to and including the system libraries), without root privileges. Ideally I would like to not require that any nix tools be

Re: [Nix-dev] deploying nix-built software to non-nix linux systems

2014-11-04 Thread Eelco Dolstra
Hi, On 04/11/14 10:37, Michael Raskin wrote: No, this is not possible unless you do static linking or some deep ld-linux/patchelf magic. For instance, my-app will have references to Glibc in the Nix store, which are not relocatable. Technically, one could install a second Nix instance

Re: [Nix-dev] deploying nix-built software to non-nix linux systems

2014-11-04 Thread Rok Garbas
On Tue, Nov 4, 2014 at 10:38 AM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 04/11/14 10:37, Michael Raskin wrote: No, this is not possible unless you do static linking or some deep ld-linux/patchelf magic. For instance, my-app will have references to Glibc in the Nix store,

Re: [Nix-dev] deploying nix-built software to non-nix linux systems

2014-11-04 Thread Andreas Herrmann
There was a post here recently about using proot to install Nix in $HOME [1]. I haven't used it myself, but I could imagine that you could install a closure of your package and provide a wrapper script which configures the environment and uses proot to run your app. [1]:

Re: [Nix-dev] deploying nix-built software to non-nix linux systems

2014-11-04 Thread Nathan Bijnens
You could also use Nix inside Docker. This way you should only install Docker on your host. Nathan. --- nat...@nathan.gs | nathan.gs http://nathan.gs?utm_source=footerutm_medium=emailutm_campaign=n | @nathan_gs http://twitter.com/nathan_gs | linkedin.com/in/nbijnens On Tue, Nov 4, 2014 at 10:54

[Nix-dev] Hydra failure types and Nix support

2014-11-04 Thread Michael Raskin
16596922mda_lv2.i686-linux 16591197mongodb.x86_64-linux 16599836qbittorrent.i686-linux 16599870qbittorrent.x86_64-linux 16590792syslogng_incubator.i686-linux 16604362

[Nix-dev] [***SPAM***] configurations repository

2014-11-04 Thread Michael Raskin
Previously we had configurations repository in SVN. I even continued to update my configuration there long after Git migration. Its useful function was that I could easily give a link like «see viric's configuration». I don't think comprehensiveness is that important for such a repository, but

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

2014-11-04 Thread J. Brian Kelley
Well, I reinstalled Linux Mint 17 (went smoothly) and sadly there is no /proc/config.gz . Is there any means to direct the screen output to my usb flash drive? Or at least stop it scrolling until I have had a chance to read things? Is there possibly a debug option that can be invoked?

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

2014-11-04 Thread Vladimír Čunát
On 11/04/2014 06:26 PM, J. Brian Kelley wrote: Well, I reinstalled Linux Mint 17 (went smoothly) and sadly there is no /proc/config.gz . sudo modprobe configs may be needed to access that file. Vladimir smime.p7s Description: S/MIME Cryptographic Signature

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

2014-11-04 Thread J. Brian Kelley
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

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] deploying nix-built software to non-nix linux systems

2014-11-04 Thread Paul Colomiets
Hi Anders, On Tue, Nov 4, 2014 at 1:36 AM, Anders Papitto anderspapi...@gmail.com wrote: Hello, I'm interested in using nix/nixos to build an application with its full set of dependencies, and then deploy it to non-nixos machines as a self-contained package (up to and including the system

Re: [Nix-dev] configurations repository

2014-11-04 Thread Arseniy Seroka
bytes Desc: S/MIME Cryptographic Signature Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141104/731f46a5/attachment-0001.bin -- Message: 5 Date: Tue, 04 Nov 2014 14:17:41 -0500 From: J. Brian Kelley j...@teksavvy.com Subject: Re: [Nix-dev] NixOS

Re: [Nix-dev] configurations repository

2014-11-04 Thread Mateusz Kowalczyk
part -- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3251 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141104/731f46a5/attachment-0001.bin

Re: [Nix-dev] configurations repository

2014-11-04 Thread Michael Raskin
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:

Re: [Nix-dev] configurations repository

2014-11-04 Thread Arseniy Seroka
It seems that configs in SVN are too much outdated. May be create from scratch? On 5 November 2014 01:13:28 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

[Nix-dev] Limiting number of Hydra jobs

2014-11-04 Thread Mateusz Kowalczyk
Hi, My Hydra runs or rather limited box, both memory and CPU wise so I'd like to limit the number of jobs it runs. I have nix.maxJobs = 1; set but Hydra does not seem to care: even right now it's running 4 jobs at once (2 for i686 and 2 for x86). I have dealt with it for a longer while but I

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...