dtc: fix the test against glibc-2.41 (#390474)

This commit is contained in:
Vladimír Čunát
2025-03-23 07:19:17 +01:00
+5
View File
@@ -33,6 +33,11 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://github.com/dgibson/dtc/commit/9a969f3b70b07bbf1c9df44a38d7f8d1d3a6e2a5.patch";
hash = "sha256-YrRzc3ATNmU6LYNHEQeU8wtjt1Ap7/gNFvtRR14PQEE=";
})
# glibc-2.41 support
(fetchpatch2 {
url = "https://github.com/dgibson/dtc/commit/ce1d8588880aecd7af264e422a16a8b33617cef7.patch";
hash = "sha256-t1CxKnbCXUArtVcniAIdNvahOGXPbYhPCZiTynGLvfo=";
})
];
env.SETUPTOOLS_SCM_PRETEND_VERSION = finalAttrs.version;