From 0346c562eec0822d6173f1f66a21c5a7ed8ef23b Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Fri, 30 Aug 2024 23:22:32 +0200 Subject: [PATCH] libreoffice: Disable X support --- overlay/no-x.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/overlay/no-x.nix b/overlay/no-x.nix index 41e9bb6..808017a 100644 --- a/overlay/no-x.nix +++ b/overlay/no-x.nix @@ -108,6 +108,12 @@ in genAttrs [ ++ [ (mesonBool "tests" false) ]; }); + + libreoffice-unwrapped = prev.libreoffice-unwrapped.overrideAttrs (prevAttrs: { + configureFlags = prevAttrs.configureFlags or [ ] + ++ [ "--without-x" ]; + }); + libsForQt5 = prev.libsForQt5.overrideScope (final: prev: { inherit (final') qt5;