From f1b2ab45b4af4707bb6318157cf09357b9a0a292 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 3 Aug 2025 00:31:09 +0100 Subject: [PATCH] =?UTF-8?q?atf:=20don=E2=80=99t=20install=20test=20program?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/by-name/at/atf/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/at/atf/package.nix b/pkgs/by-name/at/atf/package.nix index ced8145fa934..8f0aa01360ae 100644 --- a/pkgs/by-name/at/atf/package.nix +++ b/pkgs/by-name/at/atf/package.nix @@ -53,6 +53,13 @@ stdenv.mkDerivation (finalAttrs: { kyua ]; + # Don’t install the test programs for ATF itself; they’re useless + # other than as part of the `installCheckPhase`, and they contain + # non‐reproducible references to the build directory. + postInstall = '' + rm -r $out/tests + ''; + installCheckPhase = '' runHook preInstallCheck HOME=$TMPDIR PATH=$out/bin:$PATH kyua test