Unverified Commit 20ca79f3 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

ovito: add wrapGAppsHook3 to nativeBuildInputs (#507382)

parents d7e20759 1e50738a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
  imagemagick,
  copyDesktopItems,
  nix-update-script,
  wrapGAppsHook3,
}:

stdenv.mkDerivation (finalAttrs: {
@@ -40,6 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
  nativeBuildInputs = [
    cmake
    qt6Packages.wrapQtAppsHook
    wrapGAppsHook3
    imagemagick
    copyDesktopItems
  ];
@@ -62,6 +64,12 @@ stdenv.mkDerivation (finalAttrs: {
    qt6Packages.qtwayland
  ];

  dontWrapGApps = true;

  preFixup = ''
    qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
  '';

  # manually create a desktop file
  desktopItems = [
    (makeDesktopItem {