libreoffice: Use fresh variant

This commit is contained in:
Mikael 2024-08-31 10:24:51 +02:00
parent bd6d469e81
commit dd1bab10cd
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0
2 changed files with 8 additions and 5 deletions

View file

@ -50,7 +50,7 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
inkscape inkscape
jellyfin-mpv-shim jellyfin-mpv-shim
keepassxc keepassxc
libreoffice libreoffice-fresh
obsidian obsidian
restic restic
signal-desktop signal-desktop

View file

@ -108,11 +108,14 @@ in genAttrs [
++ [ (mesonBool "tests" false) ]; ++ [ (mesonBool "tests" false) ];
}); });
libreoffice-fresh = prev.libreoffice-fresh.override {
unwrapped = prev.libreoffice-fresh.unwrapped.overrideAttrs (prevAttrs: {
configureFlags = prevAttrs.configureFlags or [ ]
++ [ "--without-x" ];
});
};
libreoffice-unwrapped = prev.libreoffice-unwrapped.overrideAttrs (prevAttrs: { libreoffice-fresh-unwrapped = final.libreoffice-fresh.unwrapped;
configureFlags = prevAttrs.configureFlags or [ ]
++ [ "--without-x" ];
});
libsForQt5 = prev.libsForQt5.overrideScope (final: prev: { libsForQt5 = prev.libsForQt5.overrideScope (final: prev: {
inherit (final') qt5; inherit (final') qt5;