mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-06-26 08:59:45 +00:00
fix(nix): test fixed commit
This commit is contained in:
parent
d43449b8d2
commit
7c49b6a861
5643
flake.lock
generated
5643
flake.lock
generated
File diff suppressed because it is too large
Load Diff
14
flake.nix
14
flake.nix
@ -14,7 +14,7 @@
|
||||
crane.url = "github:ipetkov/crane";
|
||||
|
||||
logos-blockchain-circuits = {
|
||||
url = "github:logos-blockchain/logos-blockchain-circuits";
|
||||
url = "github:logos-blockchain/logos-blockchain-circuits?rev=2e79ac30831d89e6a349720c08d5b8b9978970e0";
|
||||
};
|
||||
};
|
||||
|
||||
@ -54,12 +54,6 @@
|
||||
src = ./.;
|
||||
cargoLock = builtins.fromTOML (builtins.readFile ./Cargo.lock);
|
||||
|
||||
polPrebuilt = pkgs.fetchzip {
|
||||
url = "https://github.com/logos-blockchain/logos-blockchain-circuits/releases/download/v0.5.0/logos-blockchain-circuits-v0.5.0-linux-x86_64.tar.gz";
|
||||
hash = "sha256-OgwG1tFecpuaWVc/kgQJp3LCXxJHB59n/KDRhmvqDBY=";
|
||||
stripRoot = true;
|
||||
};
|
||||
|
||||
# Parse Cargo.lock at eval time to find the locked risc0-circuit-recursion
|
||||
# version and its crates.io checksum — no hardcoding required.
|
||||
risc0CircuitRecursion = builtins.head (
|
||||
@ -107,11 +101,9 @@
|
||||
pkgs.gnutar # Required for crane's archive operations (macOS tar lacks --sort)
|
||||
pkgs.python3 # Required for correct builds now, as python is sandboxed in nix builds
|
||||
];
|
||||
|
||||
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
|
||||
LBC_POL_LIB_DIR = "${polPrebuilt}/pol";
|
||||
LBC_POC_LIB_DIR = "${polPrebuilt}/poc";
|
||||
LBC_POQ_LIB_DIR = "${polPrebuilt}/poq";
|
||||
LBC_SIGNATURE_LIB_DIR = "${polPrebuilt}/signature";
|
||||
|
||||
# Point the risc0-circuit-recursion build script to the pre-fetched zip
|
||||
# so it doesn't try to download it inside the sandbox.
|
||||
RECURSION_SRC_PATH = "${recursionZkr}";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user