summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Meurer <jmpunkt@outlook.com>2024-05-07 12:58:42 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-05-07 13:02:04 +0000
commitaab62ae48e8ad59c2b1f04cf0474a8e0625651e6 (patch)
tree55909bb762de929d6422afdb59e06456c3f53a08
parentMerge pull request #309826 from NixOS/backport-309605-to-release-23.11 (diff)
downloadnixpkgs-aab62ae48e8ad59c2b1f04cf0474a8e0625651e6.tar.gz
phpdocumentor: add missing build input
Since 3be507be1e2ea19b8d53450bac494e2ac30a642c 'php.buildComposerProject' does not provide the 'makeBinaryWrapper' anymore, causing the build to fail. (cherry picked from commit 832bb3df1c1805040f5c637413efd9a4e9fc7277)
-rw-r--r--pkgs/by-name/ph/phpdocumentor/package.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/by-name/ph/phpdocumentor/package.nix b/pkgs/by-name/ph/phpdocumentor/package.nix
index 3f2002a0da4a..15b66e560b1f 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: {
@@ -16,6 +17,8 @@ php.buildComposerProject (finalAttrs: {
vendorHash = "sha256-rsBg2EHbvYLVr6haN1brHZFVjLDaxqdkNWf0HL3Eoy0=";
+ nativeBuildInputs = [ makeBinaryWrapper ];
+
installPhase = ''
runHook preInstall