Skip to content

Commit

Permalink
febio-studio: fix qt 6.8 build
Browse files Browse the repository at this point in the history
Use a commit from upstream that hasn't been released to support qt 6.8
  • Loading branch information
khaneliman committed Nov 18, 2024
1 parent c970f0f commit 2e61f32
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/by-name/fe/febio-studio/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
glew,
apple-sdk_11,
darwinMinVersionHook,
fetchpatch,
sshSupport ? true,
openssl,
libssh,
Expand All @@ -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}") ]
Expand Down

0 comments on commit 2e61f32

Please sign in to comment.