i3status-rust: fix themes and icon handling
also enables the pulseaudio feature
This commit is contained in:
parent
d9e8a89085
commit
aacc6f2e1b
1 changed files with 11 additions and 0 deletions
|
@ -30,8 +30,19 @@ rustPlatform.buildRustPackage rec {
|
|||
cargoBuildFlags = [
|
||||
"--features=notmuch"
|
||||
"--features=maildir"
|
||||
"--features=pulseaudio"
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace src/util.rs \
|
||||
--replace "/usr/share/i3status-rust" "$out/share"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share
|
||||
cp -R files/* $out/share
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/i3status-rs --prefix PATH : "${ethtool}/bin"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue