Merge pull request #122491 from mayflower/i3status-rust-fonts-themes
i3status-rust: fix themes and icon handling
This commit is contained in:
commit
c503e32c5c
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