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".
wip/yesman
Luke Granger-Brown 4 years ago
parent 222196b9d6
commit c13df548a3
  1. 4
      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 = ''

Loading…
Cancel
Save