diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2020-06-07 09:32:45 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2020-06-07 09:32:45 -0300 |
commit | 177ac37bd94f9fe0873fb3d2c4fbc20d68c8cde7 (patch) | |
tree | 7c921f34259a6137d62aa69b33088994081568f4 /pkgs/desktops/lumina | |
parent | 656468f4285735df63745f9cf9e9adff3a583320 (diff) |
lumina.lumina: make bsdtar available for lumina-archiver
Diffstat (limited to 'pkgs/desktops/lumina')
-rw-r--r-- | pkgs/desktops/lumina/lumina/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/desktops/lumina/lumina/default.nix b/pkgs/desktops/lumina/lumina/default.nix index 1b30b8cdb107..ff1810db6e6e 100644 --- a/pkgs/desktops/lumina/lumina/default.nix +++ b/pkgs/desktops/lumina/lumina/default.nix @@ -2,6 +2,7 @@ , mkDerivation , fetchFromGitHub , fluxbox +, libarchive , numlockx , qmake , qtbase @@ -33,6 +34,7 @@ mkDerivation rec { buildInputs = [ fluxbox # window manager for Lumina DE + libarchive # make `bsdtar` available for lumina-archiver numlockx # required for changing state of numlock at login qtbase qtmultimedia @@ -66,9 +68,12 @@ mkDerivation rec { substituteInPlace src-qt5/core-utils/lumina-config/pages/page_fluxbox_settings.cpp \ --replace 'LOS::AppPrefix()+"share/fluxbox' "\"${fluxbox}/share/fluxbox" + # Add full path of bsdtar to lumina-archiver + substituteInPlace src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp \ + --replace '"bsdtar"' '"${stdenv.lib.getBin libarchive}/bin/bsdtar"' + # Fix desktop files for i in $(grep -lir 'OnlyShowIn=Lumina' src-qt5); do - echo ===== $i substituteInPlace $i --replace 'OnlyShowIn=Lumina' 'OnlyShowIn=X-Lumina' done ''; |