Nix utilities to build Debian packages (from nix).
  • Nix 66.2%
  • Shell 33.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-04 13:26:25 +03:00
checks fix some warnings in the package-tree check 2026-08-04 12:59:25 +03:00
examples format 2026-08-04 10:34:41 +03:00
lib calculate and attach Installed-Size to the control file 2026-08-04 13:26:25 +03:00
.gitignore rewrite 2026-03-20 23:26:04 +02:00
default.nix format 2026-08-04 10:34:41 +03:00
flake.nix add control-file check 2026-08-04 11:11:26 +03:00
README.md initial commit 2026-02-11 16:15:33 +02:00
reference.md rename fields like control to debControl because of collisions 2026-07-28 11:48:13 +03:00

nix-debtools

A cursed flake that provides a collection of nix constructs to help you use Nix to build packages for Debian. Why? Because sometimes science isn't about why... it's about why not. And also because this flake builds actually reproducible Debian packages.

What this is

This is intended to serve as a way to provide .deb packages from a single build system written in Nix.

What this is NOT

  • This is NOT a replacement to packaging for Debian.
  • It has many issues.
  • Is a complete hack.