espresso: fix build (#524997)

This commit is contained in:
Nick Cao
2026-05-29 13:33:43 +00:00
committed by GitHub
+5
View File
@@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
hash = "sha256-z5By57VbmIt4sgRgvECnLbZklnDDWUA6fyvWVyXUzsI=";
};
postPatch = ''
substituteInPlace utility/port.h \
--replace-fail "VOID_HACK srandom();" "VOID_HACK srandom(unsigned int __seed);"
'';
nativeBuildInputs = [ cmake ];
doCheck = true;