simpleini: cherry pick cmake fixes from master

This commit is contained in:
Marcin Serwin
2025-02-02 02:29:44 +01:00
parent 89f0fa2faa
commit d0460eb15a
+9
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
gtest,
nix-update-script,
@@ -31,6 +32,14 @@ stdenv.mkDerivation (finalAttrs: {
cmakeFlags = [ (lib.cmakeBool "SIMPLEINI_USE_SYSTEM_GTEST" true) ];
patches = [
# Fixes for cmake export from master, can be removed after the next release
(fetchpatch {
url = "https://github.com/brofield/simpleini/commit/aeacf861a8ad8add5f4974792a88ffea393e41db.patch";
hash = "sha256-lpoQHff8JwfljMUxL6Y2MqsGDZtDPjnOIKSIJ1rqrAI=";
})
];
passthru.updateScript = nix-update-script { };
meta = {