From 834b6fbf2bd872f9a0efbca673d11086183a9b27 Mon Sep 17 00:00:00 2001 From: MaxHearnden Date: Wed, 3 May 2023 19:34:52 +0100 Subject: [PATCH] Revert "tomlplusplus: apply fix for detect_voidp_size" This reverts commit 41a5d6578054e3244de88080f09869791edd0f92. --- .../libraries/tomlplusplus/default.nix | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/pkgs/development/libraries/tomlplusplus/default.nix b/pkgs/development/libraries/tomlplusplus/default.nix index b86da24d43a..a865f88f707 100644 --- a/pkgs/development/libraries/tomlplusplus/default.nix +++ b/pkgs/development/libraries/tomlplusplus/default.nix @@ -1,26 +1,11 @@ { lib , stdenv -, buildPackages +, meson , cmake , ninja , fetchFromGitHub -, fetchpatch }: -# Fix regression in precomputing CMAKE_SIZEOF_VOID_P -# See https://github.com/mesonbuild/meson/pull/11761 -let fixedMeson = - buildPackages.meson.overrideAttrs ( - {patches ? [], ...}: { - patches = patches ++ [ - (fetchpatch { - url = "https://github.com/mesonbuild/meson/commit/7c78c2b5a0314078bdabb998ead56925dc8b0fc0.patch"; - sha256 = "sha256-vSnHhuOIXf/1X+bUkUmGND5b30ES0O8EDArwb4p2/w4="; - }) - ]; - } - ); in - stdenv.mkDerivation rec { pname = "tomlplusplus"; version = "3.3.0"; @@ -32,7 +17,7 @@ stdenv.mkDerivation rec { hash = "sha256-INX8TOEumz4B5coSxhiV7opc3rYJuQXT2k1BJ3Aje1M="; }; - nativeBuildInputs = [ fixedMeson cmake ninja ]; + nativeBuildInputs = [ meson cmake ninja ]; meta = with lib;{ homepage = "https://github.com/marzer/tomlplusplus";