aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreo101 <pavel.atanasov2001@gmail.com>2025-05-27 08:50:43 +0000
committerAristotelis <52610192+Aristotelis2002@users.noreply.github.com>2025-05-27 16:27:32 +0300
commitcc9809e75acd042e91b11cf7be7f74f31cd4b71f (patch)
tree161b494c216dc6c2bb51bbe70163e17c742208f6
parentf8d60b102bd6eeae5f632b768ff5cfbd7d744723 (diff)
downloadzkVMs-benchmarks-cc9809e75acd042e91b11cf7be7f74f31cd4b71f.tar
zkVMs-benchmarks-cc9809e75acd042e91b11cf7be7f74f31cd4b71f.tar.gz
zkVMs-benchmarks-cc9809e75acd042e91b11cf7be7f74f31cd4b71f.zip
feat(flake)!: use `nix-systems` for sepcifying `systems`
-rw-r--r--flake.lock18
-rw-r--r--flake.nix6
2 files changed, 19 insertions, 5 deletions
diff --git a/flake.lock b/flake.lock
index f3c1ae6..4a19304 100644
--- a/flake.lock
+++ b/flake.lock
@@ -2427,7 +2427,8 @@
"nixpkgs": [
"mcl-blockchain",
"nixpkgs"
- ]
+ ],
+ "systems": "systems_5"
}
},
"rust-analyzer-src": {
@@ -2577,6 +2578,21 @@
"type": "github"
}
},
+ "systems_5": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
+ },
"terranix": {
"inputs": {
"bats-assert": "bats-assert",
diff --git a/flake.nix b/flake.nix
index ccbe0c5..967fff5 100644
--- a/flake.nix
+++ b/flake.nix
@@ -13,15 +13,13 @@
crane.follows = "mcl-blockchain/crane";
fenix.follows = "mcl-blockchain/fenix";
flake-parts.follows = "mcl-blockchain/flake-parts";
+ systems.url = "github:nix-systems/default";
};
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
- systems = [
- "x86_64-linux"
- "aarch64-linux"
- ];
+ systems = import inputs.systems;
perSystem =
{