mirror of
https://github.com/matter-labs/nixsgx.git
synced 2025-07-21 07:33:55 +02:00
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-24.11";
|
|
|
|
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;
|
|
};
|
|
};
|
|
}
|