diff --git a/pkgs/by-name/cl/clairvoyant/package.nix b/pkgs/by-name/cl/clairvoyant/package.nix index 14b5797db8f04..9889e1e43c3d1 100644 --- a/pkgs/by-name/cl/clairvoyant/package.nix +++ b/pkgs/by-name/cl/clairvoyant/package.nix @@ -8,6 +8,8 @@ , stdenv , vala , wrapGAppsHook4 +# Clairvoyant shows a non-dismissable banner recommending the use of the Flatpak version +, hideUnsupportedVersionBanner ? false }: stdenv.mkDerivation (finalAttrs: { @@ -34,6 +36,12 @@ stdenv.mkDerivation (finalAttrs: { libadwaita ]; + preFixup = lib.optionalString hideUnsupportedVersionBanner '' + gappsWrapperArgs+=( + --set container true + ) + ''; + meta = with lib; { changelog = "https://github.com/cassidyjames/clairvoyant/releases/tag/${finalAttrs.version}"; description = "Ask questions and get psychic answers";