From 6230af7de6d27c835618ea985cff64330f371715 Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 9 Sep 2025 05:46:35 +0100 Subject: [PATCH] cmake: remove obsolete LLVM feature check workaround This was fixed upstream in CMake 3.30.0 by . --- pkgs/by-name/cm/cmake/package.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkgs/by-name/cm/cmake/package.nix b/pkgs/by-name/cm/cmake/package.nix index b9e1ab0dfdd4..2eefa0c35d83 100644 --- a/pkgs/by-name/cm/cmake/package.nix +++ b/pkgs/by-name/cm/cmake/package.nix @@ -181,12 +181,6 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "BUILD_CursesDialog" cursesUI) ]; - # `pkgsCross.musl64.cmake.override { stdenv = pkgsCross.musl64.llvmPackages_16.libcxxStdenv; }` - # fails with `The C++ compiler does not support C++11 (e.g. std::unique_ptr).` - # The cause is a compiler warning `warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]` - # interfering with the feature check. - env.NIX_CFLAGS_COMPILE = "-Wno-unused-command-line-argument"; - # make install attempts to use the just-built cmake preInstall = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' sed -i 's|bin/cmake|${buildPackages.cmakeMinimal}/bin/cmake|g' Makefile