-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
crusader: init at 0.3.2 #374879
crusader: init at 0.3.2 #374879
Conversation
69af2dd
to
4fbe8dd
Compare
pkgs/by-name/cr/crusader/package.nix
Outdated
src = fetchFromGitHub { | ||
owner = "Zoxc"; | ||
repo = "crusader"; | ||
rev = "v${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 -> tag
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.
Thanks, I always seem to forgot this.
Please use fetchCargoDeps |
4fbe8dd
to
83ed156
Compare
This has also been fixed. Thanks for the feedback. |
83ed156
to
ced6f69
Compare
pkgs/by-name/cr/crusader/package.nix
Outdated
|
||
sourceRoot = "${src.name}/src"; | ||
|
||
cargoDeps = rustPlatform.fetchCargoVendor { |
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.
IIRC there is an argument that you can only specify a hash of the cargo deps, I don't remember the name tho
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.
Isn't that what I'm doing by specifying hash
to rustPlatform.fetchCargoVendor
?
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.
Yeah, but there is an argument where you just pass the hash and it becomes equivalent to this.
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.
Nevermind, I changed it to the same style I see almost everywhere else:
useFetchCargoVendor = true;
cargoHash = "sha256-f0TWiRX203/gNsa9UEr/1Bv+kUxLAK/Zlw+S693xZlE=";
|
fc2da95
to
0eb5c58
Compare
|
0eb5c58
to
460a86b
Compare
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.
Diff LGTM. I didn't test locally tho.
|
460a86b
to
d5d1843
Compare
f08d458
to
fe78caa
Compare
|
fe78caa
to
0d4c0f7
Compare
|
It probably needs extra dependencies for wayland:
|
I don't really have a good system with wayland for testing. Usually an strace of that binary will reveal the libs it's missing. Any chance you could suggest an additional commit that corrects the issue? |
Sure, here it is: https://paste.glepage.com/raw/ape-pigeon-wasp |
Maybe just add |
0d4c0f7
to
71323f3
Compare
I've just added |
|
71323f3
to
570f001
Compare
It was still giving the same error as the lib is loaded at runtime. I took the initiative of fixing it and force-pushing. |
570f001
to
c39acbf
Compare
Thanks @x123 ! |
Add rust-based crusader network throughput and latency testing tool.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.