Skip to content

Commit

Permalink
Merge pull request #54 from matter-labs/gramine-pipes
Browse files Browse the repository at this point in the history
fix(gramine): maybe fix problem with golang `netpollBreak`
  • Loading branch information
haraldh authored Aug 8, 2024
2 parents be2c195 + 7eb96be commit b080c32
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/gramine/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, lib
, nixsgx
, fetchurl
, fetchpatch
, bash
, meson
, nasm
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b080c32

Please sign in to comment.