From 05f5dbd470d5f9c9c6f53fca395ceb1bf20f404e Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 13 Jul 2024 18:56:35 +0200 Subject: [PATCH] doc/php: Fix mkComposerRepository example `mkComposerRepository` required `pname` and `version` since the beginning (b36ad2f51797d82ddd4479835c0edd71b3386865), with the boolean attribute becoming required later (3eb168da9243989a63dfd4e2c17c52f8c133247b). --- doc/languages-frameworks/php.section.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/languages-frameworks/php.section.md b/doc/languages-frameworks/php.section.md index c1493588a606..1bcb4ee727a5 100644 --- a/doc/languages-frameworks/php.section.md +++ b/doc/languages-frameworks/php.section.md @@ -283,7 +283,10 @@ in { ]; composerRepository = php.mkComposerRepository { - inherit (finalAttrs) src; + inherit (finalAttrs) pname version src; + composerNoDev = true; + composerNoPlugins = true; + composerNoScripts = true; # Specifying a custom composer.lock since it is not present in the sources. composerLock = ./composer.lock; # The composer vendor hash