Skip to content

php: add a dev ouptut & strip all the binaries#14822

Closed
layus wants to merge 2 commits intoNixOS:masterfrom
layus:closure-size-php-quickfix
Closed

php: add a dev ouptut & strip all the binaries#14822
layus wants to merge 2 commits intoNixOS:masterfrom
layus:closure-size-php-quickfix

Conversation

@layus
Copy link
Member

@layus layus commented Apr 19, 2016

These commits introduce stripping to all the binaries, and create a dev output to separate php's generated include files which contain references to build inputs.

Also update nixos to pick the right output.

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @edolstra, @dezgeg and @globin to be potential reviewers

This moves files depending on build inputs to a separate output.
@layus layus changed the title php: remove reference to build dependencies php: add a dev ouptut & strip all the binaries Apr 19, 2016
type = types.package;
default = pkgs.php;
defaultText = "pkgs.php";
default = pkgs.php.out;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of making the user to set e.g. phpPackage = php56.out;, keep this as it is, but instead use ${phpPackage.out} everywhere where phpPackage was used by the module.

@dezgeg
Copy link
Contributor

dezgeg commented Apr 19, 2016

Other than the comment I made, looks good to me.

@dezgeg dezgeg added 0.kind: enhancement Add something new or improve an existing system. 6.topic: closure size The final size of a derivation, including its dependencies labels Apr 27, 2016
@layus
Copy link
Member Author

layus commented Jul 20, 2016

Closing while we are working on #15339

@layus layus closed this Jul 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: enhancement Add something new or improve an existing system. 6.topic: closure size The final size of a derivation, including its dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments