mirror of
https://github.com/matter-labs/nixsgx.git
synced 2025-07-23 08:14:47 +02:00
chore(deps): update dependencies and configs
- Update nixpkgs to 25.05 and Node.js to version 24. - Adjust SGX SDK build flags to suppress additional warnings. - Disable parallel building for SGX SDK due to Intel constraints. Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
788ff52330
commit
5d19952748
5 changed files with 16 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
|||
{ nodejs_18, enableNpm ? false }:
|
||||
nodejs_18.overrideAttrs (prevAttrs: {
|
||||
{ nodejs_24, enableNpm ? false }:
|
||||
nodejs_24.overrideAttrs (prevAttrs: {
|
||||
inherit enableNpm;
|
||||
configureFlags = prevAttrs.configureFlags ++ [ "--without-node-snapshot" ];
|
||||
})
|
||||
|
|
|
@ -146,14 +146,22 @@ stdenv.mkDerivation rec {
|
|||
popd
|
||||
'';
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=missing-include-dirs";
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=missing-include-dirs -Wno-error=implicit-fallthrough -Wno-error=implicit-int -Wno-error=declaration-missing-parameter-type";
|
||||
|
||||
buildFlags = [
|
||||
"sdk_install_pkg"
|
||||
"COMMON_FLAGS+=-Wno-error=missing-include-dirs"
|
||||
"COMMON_FLAGS+=-Wno-error=implicit-fallthrough"
|
||||
"COMMON_FLAGS+=-Wno-error=implicit-int"
|
||||
"COMMON_FLAGS+=-Wno-error=declaration-missing-parameter-type"
|
||||
"V=1"
|
||||
] ++ lib.optionals debug [
|
||||
"DEBUG=1"
|
||||
];
|
||||
|
||||
# sigh! Intel
|
||||
enableParallelBuilding = false;
|
||||
|
||||
postBuild = ''
|
||||
patchShebangs linux/installer/bin/sgx_linux_x64_sdk_${version}.bin
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue