Commit bedc1f26 authored by Kalle Ahlström's avatar Kalle Ahlström
Browse files

doc/tauri: move wrapGAppsHook4 to only be included in linux builds

parent 3aedf37e
Loading
Loading
Loading
Loading
+15 −12
Original line number Diff line number Diff line
@@ -35,7 +35,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
    hash = "...";
  };

  nativeBuildInputs = [
  nativeBuildInputs =
    [
      # Pull in our main hook
      cargo-tauri.hook

@@ -45,6 +46,8 @@ rustPlatform.buildRustPackage (finalAttrs: {

      # Make sure we can find our libraries
      pkg-config
    ]
    ++ lib.optionals stdenv.hostPlatform.isLinux [
      wrapGAppsHook4
    ];