-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
eksctl: init at 0.1.35 #63041
eksctl: init at 0.1.35 #63041
Conversation
pkgs/tools/admin/eksctl/default.nix
Outdated
|
||
meta = with stdenv.lib; { | ||
description = "A CLI for Amazon EKS"; | ||
homepage = https://github.com/weaveworks/eksctl; |
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.
Hint: We're probably going to deprecate unquotes URL syntax when RFC 45 is approved.
homepage = https://github.com/weaveworks/eksctl; | |
homepage = "https://github.com/weaveworks/eksctl"; |
pkgs/tools/admin/eksctl/default.nix
Outdated
|
||
goPackagePath = "github.com/weaveworks/eksctl"; | ||
|
||
buildPhase = |
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.
Do you need the custom buildPhase?
I left it out and it builds fine - I have no AWS however, so I can't test.
pkgs/tools/admin/eksctl/default.nix
Outdated
@@ -0,0 +1,40 @@ | |||
{ stdenv, buildGoPackage, fetchFromGitHub }: |
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.
{ stdenv, buildGoPackage, fetchFromGitHub }: | |
{ lib, buildGoPackage, fetchFromGitHub }: |
If you're only using stdenv.lib
you might as well just use lib
directly here.
@JohnAZoidberg Thanks for the review!
|
I think if we replace the
it does exactly what you want. |
@JohnAZoidberg Thank you! |
What do the linkerflags do and why do you include them? |
The Take a look at this file: https://github.com/weaveworks/eksctl/blob/master/.goreleaser.yml |
@JohnAZoidberg Thanks for the review. |
I haven't tried whether it works and does the right thing. I trust that you have? |
@JohnAZoidberg BTW, could you invoke |
LGTM, Thanks! |
@JohnAZoidberg @marsam Thank you very much! |
Motivation for this change
eksctl
is a CLI for Amazon EKShttps://eksctl.io
https://github.com/weaveworks/eksctl
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)