From 03d03dcb4e87abd040491d9429faa411114e31ad Mon Sep 17 00:00:00 2001 From: Lars Berntzon Date: Fri, 1 Nov 2024 11:40:14 +0100 Subject: [PATCH] Generic builder needs to use baseInputs also The generic builder only use buildInputs, but the autotools.nix defines baseInputs so the generic builder needs to use both the final packages PATHS (first) and the autotools PATHS (last) --- pills/08-generic-builders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pills/08-generic-builders.md b/pills/08-generic-builders.md index 26a031d..d03eb52 100644 --- a/pills/08-generic-builders.md +++ b/pills/08-generic-builders.md @@ -91,7 +91,7 @@ Let's create a generic `builder.sh` for autotools projects: ```sh set -e unset PATH -for p in $buildInputs; do +for p in $baseInputs $buildInputs; do export PATH=$p/bin${PATH:+:}$PATH done