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
Teleconsole #48108
Teleconsole #48108
Conversation
src = fetchFromGitHub { | ||
owner = "gravitational"; | ||
repo = "teleconsole"; | ||
rev = "93261ac31763bf6a0a31762c22f4cc6946a7c876"; |
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.
You can just do rev = version;
here since there's the tag.
pkgs/tools/misc/teleconsole/deps.nix
Outdated
fetch = { | ||
type = "git"; | ||
url = "https://github.com/gravitational/teleport"; | ||
rev = "2cb40abd8ea8fb2915304ea4888b5b9f3e5bc223"; # v2.0.0-alpha.4 |
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.
Can you add a comment that this is asked for here https://github.com/gravitational/teleconsole/blob/09591f227c2a8df4c68af8bc4adfadfc596f4ed2/Makefile#L8 ?
I assume this will be vendored eventually.
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.
This should be merged into master not release-18.03. You then could backport this into whichever release.
@@ -0,0 +1,28 @@ | |||
{ lib, 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.
drop lib
here.
CGO_ENABLED = 1; | ||
buildFlags = "-ldflags"; | ||
|
||
meta = with lib; { |
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.
with stdenv.lib;
Thanks for the review @worldofpeace - that's all neatened up now. |
@kimburgess You're welcome 👍 Lets see if it builds here. |
Failure on aarch64-linux (full log) Attempted: teleconsole Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: teleconsole Partial log (click to expand)
|
The failure on aarch64-linux has been reported here and here. So you can mark it broken, so it doesn't get built on that platform, with this meta attribute
Also add a comment with those issues in it. I didn't read enough to tell if it's fixed in the most recent teleport version. |
Nice catch and issue digging. I'll flag as broken now, then revisit when this all switches over to a more modern teleport backend. |
@GrahamcOfBorg build teleconsole |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: teleconsole Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: teleconsole Partial log (click to expand)
|
@kimburgess @worldofpeace Thanks :D |
Motivation for this change
Adds support for Teleconsole.
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)