codeblocks: pin boost to fix build

This commit is contained in:
pancaek
2026-03-02 20:26:35 -08:00
parent 40e883ab15
commit e8710697fb
+6 -4
View File
@@ -10,10 +10,12 @@
gtk3,
contribPlugins ? false,
hunspell,
boost,
boost187,
wrapGAppsHook3,
}:
let
boost' = boost187;
in
stdenv.mkDerivation rec {
name = "${pname}-${lib.optionalString contribPlugins "full-"}${version}";
pname = "codeblocks";
@@ -37,7 +39,7 @@ stdenv.mkDerivation rec {
]
++ lib.optionals contribPlugins [
hunspell
boost
boost'
];
enableParallelBuilding = true;
@@ -56,7 +58,7 @@ stdenv.mkDerivation rec {
"--with-contrib-plugins=all,-FileManager"
+ lib.optionalString stdenv.hostPlatform.isDarwin ",-NassiShneiderman"
)
"--with-boost-libdir=${boost}/lib"
"--with-boost-libdir=${boost'}/lib"
];
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''