From e8710697fb5abe92ff0e76ba210a33fb2b087d64 Mon Sep 17 00:00:00 2001 From: pancaek <20342389+pancaek@users.noreply.github.com> Date: Mon, 2 Mar 2026 20:26:35 -0800 Subject: [PATCH] codeblocks: pin boost to fix build --- pkgs/by-name/co/codeblocks/package.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/co/codeblocks/package.nix b/pkgs/by-name/co/codeblocks/package.nix index ef647155ab38..0eb919a37034 100644 --- a/pkgs/by-name/co/codeblocks/package.nix +++ b/pkgs/by-name/co/codeblocks/package.nix @@ -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 ''