pololu / nixcrpkgs

Tools for cross-compiling standalone applications using Nix.
Other
202 stars 17 forks source link

Allow passing in nixpkgs and macos sdk #3

Closed euank closed 4 years ago

euank commented 4 years ago

This allows people to more easily use the upstream nixcrpkgs if they wish by fetching the macos sdk separately (such as from a private s3 bucket), and then passing it as an argument to nixcrpkgs.

For good measure, this also makes it possible to pass in 'nixpkgs' so that people who are using this from nix can avoid an extra nixpkgs evaluation.

I retained the previous macos_sdk behavior by default, so this should be a backwards compatible change.

DavidEGrayson commented 4 years ago

This seems reasonable and should help people use the project, so I merged it in. Thanks!