mirror of
https://github.com/matter-labs/nixsgx.git
synced 2025-07-21 23:43:56 +02:00
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:
parent
7601533d04
commit
18963c7e6b
4 changed files with 23 additions and 72 deletions
|
@ -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" ];
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue