From 10a64401a24f3f48df5dd4aad21b2cd80366e4bc Mon Sep 17 00:00:00 2001 From: Julian Stecklina Date: Tue, 21 May 2024 11:42:57 +0200 Subject: Add environment for Linux 6.10 --- flake.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'flake.nix') 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; }; }); } -- cgit v1.3.1