3
0
Fork 0
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:
Luke Granger-Brown 2020-05-06 21:34:19 +01:00
parent 222196b9d6
commit c13df548a3

View file

@ -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 = ''