Merge pull request #156847 from ymatsiuk/ymatsiuk/i3status-rust

i3status-rust: add missing iproute and iw
This commit is contained in:
Thiago Kenji Okada 2022-02-03 12:16:57 -03:00 committed by GitHub
commit 7027f388e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,8 @@
, openssl
, ethtool
, lm_sensors
, iw
, iproute2
}:
rustPlatform.buildRustPackage rec {
@ -45,7 +47,7 @@ rustPlatform.buildRustPackage rec {
'';
postFixup = ''
wrapProgram $out/bin/i3status-rs --prefix PATH : "${ethtool}/bin"
wrapProgram $out/bin/i3status-rs --prefix PATH : ${lib.makeBinPath [ iproute2 ethtool iw ]}
'';
# Currently no tests are implemented, so we avoid building the package twice