feat: gramine 1.7

This release supports eventfd, so the patched `libuv` can be omitted.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2024-06-14 14:24:16 +02:00
parent 7601533d04
commit 18963c7e6b
Signed by: harald
GPG key ID: F519A1143B3FBE32
4 changed files with 23 additions and 72 deletions

View file

@ -1,10 +1,5 @@
args@{ callPackage, lib, overrideCC, pkgs, buildPackages, fetchpatch, openssl, python3, nixsgx, nodejs_18, enableNpm ? false }:
let
callPackage' = p: a: callPackage p (a // { inherit (nixsgx) libuv; });
nodejs_libuv = nodejs_18.override { callPackage = callPackage'; };
nodejs_patched = nodejs_libuv.overrideAttrs (prevAttrs: {
inherit enableNpm;
configureFlags = prevAttrs.configureFlags ++ [ "--without-node-snapshot" ];
});
in
nodejs_patched
{ nodejs_18, enableNpm ? false }:
nodejs_18.overrideAttrs (prevAttrs: {
inherit enableNpm;
configureFlags = prevAttrs.configureFlags ++ [ "--without-node-snapshot" ];
})