From 711b1044ef32f4fca2f3dec9477213ea7e6df562 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Tue, 14 Jun 2022 14:20:39 -0700 Subject: [PATCH] abuild: put findutils in nativeBuildInputs explicitly PR #168413 causes `setup.sh` to invoke `find`; this broke abuild, because when `setup.sh` runs for abuild, $busybox/bin/find appears earlier in `$PATH` than `$findutils/bin/find`. Let's fix this by explicitly adding `findutils` to `nativeBuildInputs`, which causes its `find` to appear earlier in the `$PATH`. --- pkgs/development/tools/abuild/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/abuild/default.nix b/pkgs/development/tools/abuild/default.nix index a597213b866c1..0a7c1f60a142c 100644 --- a/pkgs/development/tools/abuild/default.nix +++ b/pkgs/development/tools/abuild/default.nix @@ -4,6 +4,7 @@ , makeWrapper , pkg-config , file +, findutils , scdoc , openssl , zlib @@ -39,6 +40,7 @@ stdenv.mkDerivation rec { ]; nativeBuildInputs = [ + findutils # ensure setup.sh uses $findutils/bin/find, not $busybox/bin/find pkg-config scdoc makeWrapper