mirror of
https://github.com/matter-labs/nixsgx.git
synced 2025-07-21 15:33:56 +02:00
35 lines
712 B
Nix
35 lines
712 B
Nix
{
|
|
nixConfig.extra-substituters = [
|
|
"https://nixsgx.cachix.org"
|
|
];
|
|
nixConfig.extra-trusted-public-keys = [
|
|
"nixsgx.cachix.org-1:tGi36DlY2joNsIXOlGnSgWW0+E094V6hW0umQRo/KoE="
|
|
];
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
|
|
|
snowfall-lib = {
|
|
url = "github:snowfallorg/lib";
|
|
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;
|
|
};
|
|
};
|
|
}
|