circom-compat-ffi/flake.nix
markoburcul 8cd4ed44fd nix: update nix pkgs
Signed-off-by: markoburcul <marko@status.im>
2025-01-10 16:11:11 +01:00

24 lines
607 B
Nix

{
description = "A flake for building circom-compat (ark-circom) ffi";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
};
outputs = { self, nixpkgs }:
let
stableSystems = [
"x86_64-linux" "aarch64-linux"
"x86_64-darwin" "aarch64-darwin"
];
forAllSystems = nixpkgs.lib.genAttrs stableSystems;
pkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
in
{
packages = forAllSystems (system: let
pkgs = pkgsFor.${system};
in {
default = pkgs.callPackage ./default.nix {};
});
};
}