Node development environment based on Nix

First thoughts on using node2nix to mange a development environment which contains a mix of Python and Node dependencies. In this step I describe my use case and the first impressions of node2nix.

My current main use case

I am using the node based dependencies to build the frontend assets …

more ...



Using pip inside of nix-shell

Sometimes I want to install a Python dependency into my working environment just to try out something quickly, and decide afterwards if I want to keep it or not. This is a case where a good old run of pip install would do just fine.

Installing inside of nix-shell

When …

more ...


Hello Nix World

Another piece in my technology puzzle to set up a simple blog based on a static site generator is Nix - The Purely Functional Package Manager.

Why do I want it

Based on Nix I am able to describe which tools I need to build the blog. It will then get …

more ...

Hello RST World!

Hello Restructured Text!

Make it work

The nice thing here is that this is the default and it just works.

Why do I want this

As stated in Hello Markdown World, I have a slight preference for RST since I find it nicer to read in source form.

Reality is …

more ...

Hello Markdown World

"Hello World!" from a Markdown file.

Make it work

Getting this to work, I realized the following bits are needed:

The package markdown

This has to be installed into the Python environment. Thanks to my Nix based environment this is just a tiny tweak:

diff --git a/default.nix b …
more ...