febio-studio: fix qt 6.8 build

Use a commit from upstream that hasn't been released to support qt 6.8
This commit is contained in:
Austin Horstman 2024-11-18 10:38:48 -06:00
parent c970f0f7cd
commit 2e61f3236d
No known key found for this signature in database

View File

@ -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}") ]