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
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@ let
|
||||||
unwrapped = php;
|
unwrapped = php;
|
||||||
tests = nixosTests.php;
|
tests = nixosTests.php;
|
||||||
inherit (php-packages) packages extensions;
|
inherit (php-packages) packages extensions;
|
||||||
inherit (php) meta;
|
meta = php.meta // {
|
||||||
|
outputsToInstall = [ "out" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
paths = [ php ];
|
paths = [ php ];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
|
|
Loading…
Reference in a new issue