From efb6c01bccec36ae8a0c7be60ae2ea6d517caa77 Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Wed, 2 Aug 2023 16:49:23 -0400 Subject: [PATCH] buildEnv: cleanup extension of postBuild --- distros/build-env/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/distros/build-env/default.nix b/distros/build-env/default.nix index c8c6f214c5..56a416d2b3 100644 --- a/distros/build-env/default.nix +++ b/distros/build-env/default.nix @@ -45,8 +45,7 @@ let nativeBuildInputs = optional wrapPrograms makeWrapper; - postBuild = '' - ${postBuild} + postBuild = postBuild + '' "${buildPackages.perl}/bin/perl" "${./setup-hook-builder.pl}" '' + optionalString wrapPrograms '' if [ -d "$out/bin" ]; then