about summary refs log tree commit diff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2020-05-06 21:34:19 +0100
committerLuke Granger-Brown <git@lukegb.com>2020-05-06 21:44:27 +0100
commitc13df548a3d962d9810134c2d2f940a241de1418 (patch)
treed3f12c211ff0d891d458842427166bb409a4d7f6 /pkgs/development/interpreters
parent222196b9d6dcb4335a44995b313654db78388faa (diff)
downloadnixlib-c13df548a3d962d9810134c2d2f940a241de1418.tar
nixlib-c13df548a3d962d9810134c2d2f940a241de1418.tar.gz
nixlib-c13df548a3d962d9810134c2d2f940a241de1418.tar.bz2
nixlib-c13df548a3d962d9810134c2d2f940a241de1418.tar.lz
nixlib-c13df548a3d962d9810134c2d2f940a241de1418.tar.xz
nixlib-c13df548a3d962d9810134c2d2f940a241de1418.tar.zst
nixlib-c13df548a3d962d9810134c2d2f940a241de1418.zip
php: override outputsToInstall when using withExtensions
At the moment, using .withExtensions on a PHP derivation will
produce something which can't be used inside an
environment.systemPackages array, because outputsToInstall refers
to an output which doesn't exist on the final derivation.

Instead, override it back to just containing the single output
"out".
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r--pkgs/development/interpreters/php/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/php/default.nix b/pkgs/development/interpreters/php/default.nix
index e0aea60e2939..ac0ab2196afa 100644
--- a/pkgs/development/interpreters/php/default.nix
+++ b/pkgs/development/interpreters/php/default.nix
@@ -113,7 +113,9 @@ let
                   unwrapped = php;
                   tests = nixosTests.php;
                   inherit (php-packages) packages extensions;
-                  inherit (php) meta;
+                  meta = php.meta // {
+                    outputsToInstall = [ "out" ];
+                  };
                 };
                 paths = [ php ];
                 postBuild = ''