From 8275ce3cd0166ed3c4d9cb7cd501d74a368b37ec Mon Sep 17 00:00:00 2001 From: Willy Hille Date: Thu, 7 May 2026 12:43:05 +0200 Subject: [PATCH] aptly: stop shipping `files` binary the `system` subpackage contains aptly system tests, including a "database corruption tool" in `system/files/corruptdb.go`, this was previously installed as `$out/bin/files` along the mainProgram `aptly` and has no real world use outside of testing [citation needed] remove to avoid oopsies and collisions --- pkgs/by-name/ap/aptly/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/ap/aptly/package.nix b/pkgs/by-name/ap/aptly/package.nix index 3028101b0b06..170332fc2c95 100644 --- a/pkgs/by-name/ap/aptly/package.nix +++ b/pkgs/by-name/ap/aptly/package.nix @@ -38,6 +38,9 @@ buildGoModule (finalAttrs: { preBuild = '' echo ${finalAttrs.version} > VERSION ''; + excludedPackages = [ + "system" + ]; postInstall = '' installShellCompletion --bash --name aptly completion.d/aptly