Merge pull request #54 from matter-labs/gramine-pipes

fix(gramine): maybe fix problem with golang `netpollBreak`
This commit is contained in:
Harald Hoyer 2024-08-08 14:34:25 +02:00 committed by GitHub
commit b080c32f2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,7 @@
, lib
, nixsgx
, fetchurl
, fetchpatch
, bash
, meson
, nasm
@ -69,6 +70,14 @@ python.pkgs.buildPythonPackage {
fetchSubmodules = true;
};
patches = [
# Add locking around read/write on encrypted pipes
(fetchpatch {
url = "https://github.com/gramineproject/gramine/commit/cd68a460abf9db2295f5dc5cf292b8678741fb22.patch";
hash = "sha256-KRgcFiZWCOz1x8O0cgL7aZ1xG9bdZDPwRKSgqOWJ2nQ=";
})
];
outputs = [ "out" "dev" ];
# Unpack subproject sources