summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Stecklina <julian.stecklina@cyberus-technology.de>2024-03-25 15:47:52 +0100
committerJulian Stecklina <julian.stecklina@cyberus-technology.de>2024-03-25 15:48:15 +0100
commit05fbd4f228a1bfd551e5b0825f02b53814b3504d (patch)
treedbcf3c9365655c1a4dfd1df2e908fe875569637c
parentf799f52014e19a40abe1f6b5fa1d1650abfd792a (diff)
ci: limit to x86_64 and aarch64 linux targets
-rw-r--r--flake.lock17
-rw-r--r--flake.nix10
2 files changed, 18 insertions, 9 deletions
diff --git a/flake.lock b/flake.lock
index c83cf0a..d0dc48f 100644
--- a/flake.lock
+++ b/flake.lock
@@ -23,7 +23,9 @@
},
"flake-utils": {
"inputs": {
- "systems": "systems"
+ "systems": [
+ "systems"
+ ]
},
"locked": {
"lastModified": 1710146030,
@@ -60,7 +62,8 @@
"fenix": "fenix",
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs",
- "rust-overlay": "rust-overlay"
+ "rust-overlay": "rust-overlay",
+ "systems": "systems"
}
},
"rust-analyzer-src": {
@@ -105,16 +108,16 @@
},
"systems": {
"locked": {
- "lastModified": 1681028828,
- "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "lastModified": 1689347949,
+ "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
- "repo": "default",
- "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "repo": "default-linux",
+ "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
- "repo": "default",
+ "repo": "default-linux",
"type": "github"
}
}
diff --git a/flake.nix b/flake.nix
index 904be02..8919c5a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -2,8 +2,14 @@
description = "Kernel development environments";
inputs = {
+ systems.url = "github:nix-systems/default-linux";
+
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
- flake-utils.url = "github:numtide/flake-utils";
+
+ flake-utils = {
+ url = "github:numtide/flake-utils";
+ inputs.systems.follows = "systems";
+ };
rust-overlay = {
url = "github:oxalica/rust-overlay";
@@ -17,7 +23,7 @@
};
};
- outputs = { self, nixpkgs, rust-overlay, fenix, flake-utils }:
+ outputs = { self, nixpkgs, rust-overlay, fenix, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages."${system}";