_389-ds-base: add fix-32bit patch

Co-authored-by: Robert Scott <github@humanleg.org.uk>
This commit is contained in:
Benjamin Staffin
2024-05-28 16:52:49 -04:00
committed by Benjamin Staffin
co-authored by Robert Scott
parent b511f3e2ed
commit ac7eb3979d
+9
View File
@@ -31,6 +31,7 @@
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd
, zlib
, rsync
, fetchpatch
, withCockpit ? true
, withAsan ? false
}:
@@ -46,6 +47,14 @@ stdenv.mkDerivation rec {
hash = "sha256-12JCd2R00L0T5EPUNO/Aw2HRID+z2krNQ09RSX9Qkj8=";
};
patches = [
(fetchpatch {
name = "fix-32bit.patch";
url = "https://github.com/389ds/389-ds-base/commit/1fe029c495cc9f069c989cfbb09d449a078c56e2.patch";
hash = "sha256-b0HSaDjuEUKERIXKg8np+lZDdZNmrCTAXybJzF+0hq0=";
})
];
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
sourceRoot = "${src.name}/src";