Skip to content
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

minikube: init at 0.13.1 #20937

Merged
merged 1 commit into from Dec 8, 2016
Merged

minikube: init at 0.13.1 #20937

merged 1 commit into from Dec 8, 2016

Conversation

ebzzry
Copy link

@ebzzry ebzzry commented Dec 6, 2016

Motivation for this change
Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@Mic92
Copy link
Member

Mic92 commented Dec 6, 2016

duplicate of #20819, but this one is newer.

name = "${pname}-${version}";

src = fetchurl {
url = "https://storage.googleapis.com/minikube/releases/v${version}/minikube-${arch}";
Copy link
Member

@Mic92 Mic92 Dec 6, 2016

Choose a reason for hiding this comment

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

oh, the other pull request from @offlinehacker builds from source, so I would actually prefer it in this case. Maybe you can test if his works also works on darwin and add yourself as a second maintainer (for osx)

Copy link
Author

Choose a reason for hiding this comment

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

I’ll do that, then I’ll post updates.

Copy link
Author

Choose a reason for hiding this comment

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

I can’t build it on macOS. I get error: attribute ‘glibc’ missing.

Copy link
Contributor

Choose a reason for hiding this comment

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

localkube is most probably a problem, as it needs to be static elf x64 binary.

Copy link
Contributor

Choose a reason for hiding this comment

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

In that particular case i find your pull request better, as I can't see an easy way how to do such build on Darwin, as it needs to be static linux binary, and nix can't do mixed architecture builds. While vm support that nix has could solve this, nix does not support other virtualization as KVM, so this is also no go.

@offlinehacker
Copy link
Contributor

Question, I see you don't do patchelf, is minikube statically built?

@ebzzry
Copy link
Author

ebzzry commented Dec 7, 2016

@offlinehacker Yes, it does not require patchelf.

@offlinehacker
Copy link
Contributor

offlinehacker commented Dec 7, 2016 via email

@ebzzry
Copy link
Author

ebzzry commented Dec 7, 2016

Ok!

@offlinehacker offlinehacker merged commit 0ba9037 into NixOS:master Dec 8, 2016
@ebzzry ebzzry deleted the minikube-0.13.1 branch March 14, 2017 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants