From a48be457da9d8e111899d3767df7f68c5bfdcbe4 Mon Sep 17 00:00:00 2001 From: Julian Stecklina Date: Tue, 13 Aug 2024 14:33:45 +0200 Subject: Add Linux 6.11 environment --- flake.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/flake.nix b/flake.nix index 99af264..71c55e9 100644 --- a/flake.nix +++ b/flake.nix @@ -194,6 +194,24 @@ }; linux_6_10_gcc = self.devShells."${system}".linux_6_9_gcc; + + # Linux 6.11 + linux_6_11 = 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_11_gcc = self.devShells."${system}".linux_6_10_gcc; }; }); } -- cgit v1.3.1