forked from mirrors/nixpkgs
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".
This commit is contained in:
parent
222196b9d6
commit
c13df548a3
|
@ -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…
Reference in a new issue