From 832bb3df1c1805040f5c637413efd9a4e9fc7277 Mon Sep 17 00:00:00 2001 From: Jonas Meurer Date: Tue, 7 May 2024 12:58:42 +0200 Subject: [PATCH] phpdocumentor: add missing build input Since 3be507be1e2ea19b8d53450bac494e2ac30a642c 'php.buildComposerProject' does not provide the 'makeBinaryWrapper' anymore, causing the build to fail. --- pkgs/by-name/ph/phpdocumentor/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/ph/phpdocumentor/package.nix b/pkgs/by-name/ph/phpdocumentor/package.nix index d94b143a0c0e..e0eeef5935a3 100644 --- a/pkgs/by-name/ph/phpdocumentor/package.nix +++ b/pkgs/by-name/ph/phpdocumentor/package.nix @@ -1,6 +1,7 @@ { lib , php , fetchFromGitHub +, makeBinaryWrapper }: php.buildComposerProject (finalAttrs: { @@ -19,6 +20,8 @@ php.buildComposerProject (finalAttrs: { # Needed because of the unbound version constraint on phpdocumentor/json-path composerStrictValidation = false; + nativeBuildInputs = [ makeBinaryWrapper ]; + installPhase = '' runHook preInstall