Skip to content

Solving the distribution problem #2487

@DanPartelly

Description

@DanPartelly

I propose exploring the idea of distributing netlab directly from git repository, using Nix flakes. See if it can be used to ease to distribute Netlab in all distros supporting Nix

Inspired by my bikeshedding here in #2479

First, Nix is a package manager, and should not be confounded with Nixos, a Linux distribution built with Nix at the core.

What is Nix ?
What are flakes ?

How can it help us ? Proper delivery of Netlab and dependencies on any system capable of installing Nix package manager. And you get a development environment with that as well on any distro.

How can I install Nix, the package manager

Install it from Determinate systems, the company of Eelco Dolstra, the creator of Nixos, the operating system.

Sample Nix enable repository:

Hashicorp's founder ghostty terminal

This proposal is one of explorative nature. It doesn't propose we do anything at all beyond that, There are limitations (for example the host system must run libvirt and qemu and provide the needed kernel module but we could at least theoretically provide everything else ) and challenges but first lets us see if its something worth pursuing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions