Unverified Commit 2e61f323 authored by Austin Horstman's avatar Austin Horstman
Browse files

febio-studio: fix qt 6.8 build

Use a commit from upstream that hasn't been released to support qt 6.8
parent c970f0f7
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
  glew,
  apple-sdk_11,
  darwinMinVersionHook,
  fetchpatch,
  sshSupport ? true,
  openssl,
  libssh,
@@ -35,7 +36,14 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-ggIzz6bvNjqlI8s31EVnbM0TOspBSc9/myKpWukS3MU=";
  };

  patches = [ ./cmake-install.patch ];
  patches = [
    ./cmake-install.patch
    # Fix qt 6.8 compile, can be removed after next release
    (fetchpatch {
      url = "https://github.com/febiosoftware/FEBioStudio/commit/15524d958a6f5ef81ccee58b4efa1ea25de91543.patch";
      hash = "sha256-LRToK1/RQC+bLXgroDTQOV6H8pI+IZ38Y0nsl/Fz1WE=";
    })
  ];

  cmakeFlags =
    [ (lib.cmakeFeature "Qt_Root" "${qt6Packages.qtbase}") ]