← All projects
Project record1 mention
Originally shared on Hacker News

Static-link nixpkgs overlays with .deb output

A set of nixpkgs overlays that provide first-class static linking, fully correct pkg-config metadata, and re-archived libraries so difficult dependencies like abseil and boost work, while defaulting to pro-user, anti-telemetry choices such as LibreSSL and musl. The overlays build .deb files (among other outputs) to leverage nixpkgs' enormous package set, making it realistic for an individual to bootstrap a complete, zero-backdoor Ubuntu-style system.

Last shared
01 / The problem

What it addresses

Difficult dependencies and build friction make a fully static, correctly configured system unrealistic for an individual to bootstrap; a stable kernel ABI has mostly benefited large firms instead of individual users.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Static-link nixpkgs overlays with .deb output

    A set of nixpkgs overlays that provide first-class static linking, fully correct pkg-config metadata, and re-archived libraries so difficult dependencies like abseil and boost work, while defaulting to pro-user, anti-telemetry choices such as LibreSSL and musl. The overlays build .deb files (among other outputs) to leverage nixpkgs' enormous package set, making it realistic for an individual to bootstrap a complete, zero-backdoor Ubuntu-style system.

    Problem: Difficult dependencies and build friction make a fully static, correctly configured system unrealistic for an individual to bootstrap; a stable kernel ABI has mostly benefited large firms instead of individual users.

    Posted by @benreesman · Original source ↗

    Source text · @benreesman · · Source ↗

    I'm working on a fully static-link as first class, fully correct `pkg-config` information, fully re-`ar`'d (e.g. `-labsl`, `-lboost`, many other difficult deps work already) set of libraries that default in `libressl`, `musl`, and other pro-user / anti-telemetry choices expressed as overlays on `nixpkgs` that build .deb files (among other things) to leverage the enormous package set to get a complete system with an effort realistic for an individual to bootstrap to the "interesting" phase.