From c18490f5d385ebef60fe097076493b0927effc87 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 11 Dec 2025 13:31:56 +0100 Subject: [PATCH] deb: remove hard dependency on distro-provided Nix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Debian Nix package causes flake builds to fail inside the test and container environment due to sandboxing and patched Nix behavior. To ensure consistent behaviour across all distributions and align container logic with production logic, pkgmgr now relies on its own `init-nix.sh` bootstrap script instead of the distro’s `nix` package. Dropping `Depends: nix` guarantees that both Debian containers and real Debian systems install and initialize Nix via the upstream installer, matching the behaviour on Arch, Fedora, and Ubuntu. https://chatgpt.com/share/693ab9bf-e6ac-800f-83ba-a4abd1bfe407 --- packaging/debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/debian/control b/packaging/debian/control index 04e9796..621d309 100644 --- a/packaging/debian/control +++ b/packaging/debian/control @@ -9,7 +9,7 @@ Homepage: https://github.com/kevinveenbirkenbach/package-manager Package: package-manager Architecture: any -Depends: nix, ${misc:Depends} +Depends: ${misc:Depends} Description: Wrapper that runs Kevin's package-manager via Nix flake This package provides the `pkgmgr` command, which runs Kevin's package manager via a local Nix flake