New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
terraform-providers: introduce mkTerraformProvider #57026
Conversation
keep the code DRY, use the same defaults when building providers outside of the nixpkgs tree
Interesting that ofBorg reports an issue. I just built all the plugins on this PR without an issue.. @GrahamcOfBorg eval |
Running Marking the new function to not be recursed into should probably fix this. For future reference the error:
|
# A specialized buildGoPackage for the terraform provider plugins | ||
{ pname, version, ... }@attrs: | ||
buildGoPackage ({ | ||
name = "${pname}-${version}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if you pass in name
instead of pname
and then access the inner name via attrs.name
? You'll have to remove the name
from attrs before you merge them back into this set.
{ name, version, ... }@attrs:
buildGoPackage ({
name = "${attrs.name}-${version}"
What's the status of this? |
This PR is stale right now. It would be nice to have but not big enough for me to spend more time on it at the moment. |
Thank you for your contributions.
|
Motivation for this change
keep the code DRY, use the same defaults when building providers outside
of the nixpkgs tree.
/cc @stephengroat
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)