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
aws-xray-daemon-V3.0.0 | awx-xray-daemon: init at V3.0.0 #53565
Conversation
@GrahamcOfBorg build aws-xray-daemon |
@NRHelmi indentation is 2 spaces in nix |
@GrahamcOfBorg build aws-xray-daemon |
This pull request has been mentioned on Nix community. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review-january/2002/3 |
This pull request has been mentioned on Nix community. There might be relevant details there: |
in | ||
{ | ||
options.services.aws-xray-daemon = { | ||
enable = mkEnableOption "Whether to enable aws-xray-daemon service"; |
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.
enable = mkEnableOption "Whether to enable aws-xray-daemon service"; | |
enable = mkEnableOption "the aws-xray-daemon service"; |
The "whether to enable" part gets added automatically.
|
||
buildGoPackage rec { | ||
name = "aws-xray-daemon-${version}"; | ||
version = "V3.0.0"; |
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.
It's not typical to have the prefix of V in the version, even if it is in the tag or release name.
version = "V3.0.0"; | |
version = "3.0.0"; |
src = fetchFromGitHub { | ||
owner = "aws"; | ||
repo = "aws-xray-daemon"; | ||
rev = "${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.
rev = "${version}"; | |
rev = "V${version}"; |
{ stdenv, buildGoPackage, fetchFromGitHub }: | ||
|
||
buildGoPackage rec { | ||
name = "aws-xray-daemon-${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.
name = "aws-xray-daemon-${version}"; | |
pname = "aws-xray-daemon"; |
name
becomes ${pname}-${version}
automatically.
|
||
src = fetchFromGitHub { | ||
owner = "aws"; | ||
repo = "aws-xray-daemon"; |
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.
repo = "aws-xray-daemon"; | |
repo = pname; |
}; | ||
}; | ||
}; | ||
} |
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.
missing final newline
description = "aws X-RAY daemon."; | ||
license = stdenv.lib.licenses.asl20; | ||
}; | ||
} |
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.
missing final newline
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.
Please bump aws-xray-daemon
to its latest release
No activity in a while, closing for now. Feel free to reopen again |
Motivation for this change
The AWS X-Ray daemon is a software application that listens for traffic on UDP port 2000, gathers raw segment data, and relays it to the AWS X-Ray API.
The pull request contains the xray daemon packaged next to its nixos service.
This should add support to aws xray daemon in nixos.
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)I think I'm missing the maintainer. Don't know who to set to ?