about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authortalyz <kim.lindberger@gmail.com>2020-04-24 21:28:33 +0200
committertalyz <kim.lindberger@gmail.com>2020-04-29 13:44:20 +0200
commitef990961bc98e6b8dbad47b0ea0da2b302df5476 (patch)
treefcf7627ab2f785e9bf5c307dea660e0d201da0c7 /doc
parentc3d5d92f4a9b78357b803d0591bc9adf0e17f584 (diff)
downloadnixlib-ef990961bc98e6b8dbad47b0ea0da2b302df5476.tar
nixlib-ef990961bc98e6b8dbad47b0ea0da2b302df5476.tar.gz
nixlib-ef990961bc98e6b8dbad47b0ea0da2b302df5476.tar.bz2
nixlib-ef990961bc98e6b8dbad47b0ea0da2b302df5476.tar.lz
nixlib-ef990961bc98e6b8dbad47b0ea0da2b302df5476.tar.xz
nixlib-ef990961bc98e6b8dbad47b0ea0da2b302df5476.tar.zst
nixlib-ef990961bc98e6b8dbad47b0ea0da2b302df5476.zip
php.buildEnv: Provide the unwrapped php package in php.unwrapped
This is useful if you need to access the dev output of the unwrapped
derivation.
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/php.section.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/languages-frameworks/php.section.md b/doc/languages-frameworks/php.section.md
index 31190f3b51a4..abf91a317695 100644
--- a/doc/languages-frameworks/php.section.md
+++ b/doc/languages-frameworks/php.section.md
@@ -66,6 +66,13 @@ ignore `enabled`:
 php.withExtensions ({ all, ... }: with all; [ opcache imagick ])
 ```
 
+`php.withExtensions` provides extensions by wrapping a minimal php
+base package, providing a `php.ini` file listing all extensions to be
+loaded. You can access this package through the `php.unwrappedPhp`
+attribute; useful if you, for example, need access to the `dev`
+output. The generated `php.ini` file can be accessed through the
+`php.phpIni` attribute.
+
 If you want a PHP build with extra configuration in the `php.ini`
 file, you can use `php.buildEnv`. This function takes two named and
 optional parameters: `extensions` and `extraConfig`. `extensions`