git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #50054 from samueldr/fixes/libreoffice-misc

Fixes weird mismatch with libreoffice and libreoffice-unwrapped.

commit74f3d2f8c8aa370d46c5c44ad58c6f4d3e474123 authorMichael Raskin <7c6f434c@mail.ru> dateFri 9 Nov 2018, 20:04 (8 years ago) parent814ff371430f1c
2 files changed+14−11
pkgs/applications/office/libreoffice/wrapper.nix+4−1 pkgs/top-level/all-packages.nix+10−10
pkgs/applications/office/libreoffice/wrapper.nix+4−1
@@ -13,4 +13,7 @@ in
1313 for i in $(ls "${libreoffice}/bin/"); do
1414 test "$i" = "soffice" || ln -s soffice "$out/bin/$(basename "$i")"
1515 done
16−'') // { inherit libreoffice dbus; }
16+'') // {
17+ inherit libreoffice dbus;
18+ meta = libreoffice.meta;
19+}
pkgs/top-level/all-packages.nix+10−10
@@ -17677,6 +17677,7 @@ with pkgs;
1767717677 librecad = callPackage ../applications/misc/librecad { };
1767817678
1767917679 libreoffice = hiPrio libreoffice-still;
17680+ libreoffice-unwrapped = libreoffice.libreoffice;
1768017681
1768117682 libreoffice-args = {
1768217683 inherit (perlPackages) ArchiveZip IOCompress;
@@ -17698,21 +17699,20 @@ with pkgs;
1769817699 };
1769917700 };
1770017701
17701− libreoffice-unwrapped = callPackage ../applications/office/libreoffice
17702− (libreoffice-args // {
17703− });
17704− libreoffice-still-unwrapped = callPackage ../applications/office/libreoffice/still.nix
17705− (libreoffice-args // {
17706− poppler = poppler_0_61;
17707− });
17708−
1770917702 libreoffice-fresh = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix {
17710− libreoffice = libreoffice-unwrapped;
17703+ libreoffice = callPackage ../applications/office/libreoffice
17704+ (libreoffice-args // {
17705+ });
1771117706 });
17707+ libreoffice-fresh-unwrapped = libreoffice-fresh.libreoffice;
1771217708
1771317709 libreoffice-still = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix {
17714− libreoffice = libreoffice-still-unwrapped;
17710+ libreoffice = callPackage ../applications/office/libreoffice/still.nix
17711+ (libreoffice-args // {
17712+ poppler = poppler_0_61;
17713+ });
1771517714 });
17715+ libreoffice-still-unwrapped = libreoffice-still.libreoffice;
1771617716
1771717717 libvmi = callPackage ../development/libraries/libvmi { };
1771817718