mirror of
https://github.com/matter-labs/nixsgx.git
synced 2025-07-21 07:33:55 +02:00

- 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>
33 lines
745 B
Nix
33 lines
745 B
Nix
{
|
|
nixConfig = {
|
|
extra-substituters = [ "https://attic.teepot.org/tee-pot" ];
|
|
extra-trusted-public-keys = [ "tee-pot:SS6HcrpG87S1M6HZGPsfo7d1xJccCGev7/tXc5+I4jg=" ];
|
|
};
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
|
|
|
snowfall-lib = {
|
|
url = "github:snowfallorg/lib?ref=c6238c83de101729c5de3a29586ba166a9a65622";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
description = "SGX packages for nixos";
|
|
|
|
outputs = inputs:
|
|
inputs.snowfall-lib.mkFlake {
|
|
inherit inputs;
|
|
src = ./.;
|
|
|
|
package-namespace = "nixsgx";
|
|
|
|
snowfall = {
|
|
namespace = "nixsgx";
|
|
};
|
|
|
|
outputs-builder = channels: {
|
|
formatter = channels.nixpkgs.nixpkgs-fmt;
|
|
};
|
|
};
|
|
}
|