Re: [Nix-dev] Announcing nix-acbuild . Create appc containers from nix packages with ease

2017-06-05 Thread Putten, A. van (Arian)
Interesting,

mine seems conceptually a less complicated though.  As I'm not rewriting 
directories. simply copying over the nix store closure needed to create the 
manifest.

From: nix-dev-boun...@lists.science.uu.nl [nix-dev-boun...@lists.science.uu.nl] 
on behalf of Jörg Thalheim [jo...@higgsboson.tk]
Sent: Saturday, June 03, 2017 10:42 PM
To: nix-dev@lists.science.uu.nl
Subject: Re: [Nix-dev] Announcing nix-acbuild . Create appc containers from nix 
packages with ease

There is also: https://github.com/steveeJ/nix2aci


On 2017-06-03 16:11, Putten, A. van (Arian) wrote:
> Hey there folks,
>
> Are you not in the position to force your company to run NixOS, but can you 
> convince them to
> run containers?   For example, your are running a Kubernetes cluster on 
> CoreOS or Openshif?
>
> I've created a small nix script that packages up any nix package into a AppC 
> container, that can then
> be run using the rkt container engine.   I use this to deploy my haskell 
> applications to a CoreOS kubernetes cluster.
>
> The only thing you need is a computer with nix installed. NixOS is not a 
> prerequisite.
>
> Documentation is not there yet, but I've added an example how you would 
> deploy nginx. The script
> isn't perfect yet, but it is pretty feature complete. Feedback would be 
> appreciated!
>
> https://github.com/arianvp/nix-acbuild
>
> Kind regards,
>
> Arian
>
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Announcing nix-acbuild . Create appc containers from nix packages with ease

2017-06-03 Thread Putten, A. van (Arian)
Hey there folks,

Are you not in the position to force your company to run NixOS, but can you 
convince them to
run containers?   For example, your are running a Kubernetes cluster on CoreOS 
or Openshif?

I've created a small nix script that packages up any nix package into a AppC 
container, that can then
be run using the rkt container engine.   I use this to deploy my haskell 
applications to a CoreOS kubernetes cluster.

The only thing you need is a computer with nix installed. NixOS is not a 
prerequisite.

Documentation is not there yet, but I've added an example how you would deploy 
nginx. The script
isn't perfect yet, but it is pretty feature complete. Feedback would be 
appreciated!

https://github.com/arianvp/nix-acbuild

Kind regards,

Arian
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] FOSDEM NixOS meetup minutes

2017-02-05 Thread Putten, A. van (Arian)
By all means! 

From: Matthias Beyer [m...@beyermatthias.de]
Sent: Sunday, February 05, 2017 6:44 PM
To: Putten, A. van (Arian)
Cc: nix-dev@lists.science.uu.nl
Subject: Re: [Nix-dev] FOSDEM NixOS meetup minutes

Hi,

I'm not at FOSDEM, but I'd love to put some notes/ideas in there.

Am I allowed to?

On 05-02-2017 15:36:21, Putten, A. van (Arian) wrote:
> Dear list,
>
> We had a very spontaneous NixOS discussion panel at FOSDEM.
>
> I took minutes.  I must say they're a bit rushy at times, so add stuff to it
> you think isn't clear or is lacking in content.  Thanks!
>
>
> http://piratepad.net/1nHg65LMQj
>
>

> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


--
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Consider switching to free software.
It adds value to your life.
https://www.gnu.org/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] FOSDEM NixOS meetup minutes

2017-02-05 Thread Putten, A. van (Arian)
Dear list,

We had a very spontaneous NixOS discussion panel at FOSDEM.

I took minutes.  I must say they're a bit rushy at times, so add stuff to it
you think isn't clear or is lacking in content.  Thanks!


http://piratepad.net/1nHg65LMQj


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Fosdem

2017-01-30 Thread Putten, A. van (Arian)
I will be there!

From: nix-dev-boun...@lists.science.uu.nl [nix-dev-boun...@lists.science.uu.nl] 
on behalf of Nathan Bijnens [nat...@nathan.gs]
Sent: Monday, January 30, 2017 9:35 PM
To: Louis Taylor
Cc: nix-dev
Subject: Re: [Nix-dev] Fosdem


I will be there on Saturday, mostly at the Big Data track.

N.

On Mon, Jan 30, 2017, 21:33 Louis Taylor 
> wrote:
On Mon, Jan 30, 2017 at 8:16 PM, Nathan Bijnens 
> wrote:
> Anyone going to Fosdem?

February just isn't right without a trip to Brussels!
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Caution: LetsEncrypt broken in 16.09 - fix included in this mail

2016-12-15 Thread Putten, A. van (Arian)
Dear list,


Yesterday I was setting up a new server with letsencrypt on 16.09 and the 
certificate
renewal failed, causing my TLS setup to break.

Luckily, the bug that caused this has already been fixed in master and 
backported to 16.09 in https://github.com/NixOS/nixpkgs/pull/21102

However, Hydra is currently being annoying, which is making it impossible to 
currently push this fix to users 
(https://github.com/NixOS/nixpkgs/issues/21145).

For people using LetsEncrypt, it is important to temporarily patch your NixOS 
configuration such that your
certificates do not expire due to the renewal service crashing.

First, clone nixpkgs such that you can refer to the fix (I used it as a 
submodule):

$ git clone g...@github.com:nixos/nixpkgs.git
$ cd nixpkgs; git checkout 8341cfb6
$ cd ..

Now add this line to your configuration.nix (making sure PATH/TO/nixpkgs points 
to where you cloned the repo):


nixpkgs.config.packageOverrides = pkgs: rec { simp_le = pkgs.callPackage 
PATH/TO/nixpkgs/pkgs/tools/admin/simp_le {}; };


now rebuild and you should be fine.

Once the update has been built by hydra, it is safe to delete this line again.


Cheers,

Arian van Putten
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev