Add circuits dependency

This commit is contained in:
danielSanchezQ 2026-02-27 12:13:25 +00:00
parent 18d9d80105
commit 6887131364
2 changed files with 42 additions and 1 deletions

37
flake.lock generated
View File

@ -15,7 +15,41 @@
"type": "github"
}
},
"logos-blockchain-circuits": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1770979891,
"narHash": "sha256-cvkVnE7btuFLzv70ORAZve9K1Huiplq0iECgXSXb0ZY=",
"owner": "logos-blockchain",
"repo": "logos-blockchain-circuits",
"rev": "ec7d298e5a3a0507bb8570df86cdf78dc452d024",
"type": "github"
},
"original": {
"owner": "logos-blockchain",
"repo": "logos-blockchain-circuits",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1769461804,
"narHash": "sha256-msG8SU5WsBUfVVa/9RPLaymvi5bI8edTavbIq3vRlhI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "bfc1b8a4574108ceef22f02bafcf6611380c100d",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1770019141,
"narHash": "sha256-VKS4ZLNx4PNrABoB0L8KUpc1fE7CLpQXQs985tGfaCU=",
@ -34,7 +68,8 @@
"root": {
"inputs": {
"crane": "crane",
"nixpkgs": "nixpkgs",
"logos-blockchain-circuits": "logos-blockchain-circuits",
"nixpkgs": "nixpkgs_2",
"rust-overlay": "rust-overlay"
}
},

View File

@ -10,6 +10,10 @@
};
crane.url = "github:ipetkov/crane";
logos-blockchain-circuits = {
url = "github:logos-blockchain/logos-blockchain-circuits";
};
};
outputs =
@ -18,6 +22,7 @@
nixpkgs,
rust-overlay,
crane,
logos-blockchain-circuits,
...
}:
let
@ -107,6 +112,7 @@
'' + pkgs.lib.optionalString pkgs.stdenv.isDarwin ''
export PATH="$PATH:/usr/bin"
'';
LOGOS_BLOCKCHAIN_CIRCUITS = logos-blockchain-circuits.packages.${system}.default;
};
walletFfiPackage = craneLib.buildPackage (