summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 4b02b61..f2431dc 100644
--- a/flake.nix
+++ b/flake.nix
@@ -152,6 +152,24 @@
};
linux_6_9_gcc = self.devShells."${system}".linux_6_8_gcc;
+
+ # Linux 6.10
+ linux_6_10 = pkgs.mkShell {
+ packages =
+ linuxLlvmDependencies
+ ++ (linuxRustDependencies "rust_1_78_0")
+ ++ linuxCommonDependencies;
+
+ # To force LLVM build mode. This should create less problems
+ # with Rust interop.
+ LLVM = "1";
+
+ # Disable all automatically applied hardening. The Linux
+ # kernel will take care of itself.
+ NIX_HARDENING_ENABLE = "";
+ };
+
+ linux_6_10_gcc = self.devShells."${system}".linux_6_9_gcc;
};
});
}