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
[RFC/RDY] flent: add manpage + init http-getter #41614
Conversation
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: flent Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: flent Partial log (click to expand)
|
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: flent Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: flent Partial log (click to expand)
|
{ stdenv, buildPythonApplication, fetchFromGitHub, matplotlib, netperf, procps, pyqt5 }: | ||
{ stdenv, buildPythonApplication, fetchFromGitHub, matplotlib, netperf, procps, pyqt5 | ||
, makeWrapper, iperf2 | ||
, withMan ? true, sphinx ? null |
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.
I don't think it's worth making the manual optional. Doesn't take long to build (and hydra does it for you anyway), and it's put in a separate output. So I suggest to remove this option and always build the manual, which is the de-facto standard in nixpkgs.
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.
I received different feedback on other PRs but I definitely agree we should encourage manpages so I build it by default.
propagatedBuildInputs = [ | ||
matplotlib | ||
procps | ||
pyqt5 | ||
]; | ||
|
||
postBuild = stdenv.lib.optionalString withMan '' | ||
make man |
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 postBuild
is not necessary and can be removed. The manual is built automatically.
In the end I removed the wrapping since it might pull too much otherwise and wouldn't work in python development mode which was my interest. The PR juste enables the manpage and add http-getter to cover some tests in flent. So people should keep using it describing the necessary dependencies |
Success on x86_64-linux (full log) Attempted: flent, http-getter Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: flent, http-getter Partial log (click to expand)
|
hey @teto what did you mean by python-development mode, do you recall? Maybe we should do 2 packages here, flent and flent-full or something? I'd like to have all the needed tools depended on and brought in somehow. |
@mmlb I meant I was using flent in a nix-shell (equivalent to
|
Motivation for this change
without at least netperf the program is useless since it is an interface to netperf.
http-getter is a small utility used just by flent so I addded it to the flent default.nix.
NB: for those testing it, I kept the stable release but there is a nasty bug that was solved there
tohojo/flent#137 so you might need to override the src to sthg more recent.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)