svanderburg / composer2nix

Generate Nix expressions to build PHP composer packages
MIT License
88 stars 25 forks source link

Implement option --sources-only #3

Closed thorstenweber83 closed 6 years ago

thorstenweber83 commented 6 years ago

The purpose of this flag is to change the result of evaluating default.nix from a derivation to only an AttrSet containing the source descriptions for all composer dependencies. (packages + devPackages)

This is useful for fetching wordpress themes and plugins from wpackagist.

If you have thoughts about how to achieve this in a different way, i'm open to suggestions!