summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Stecklina <julian.stecklina@cyberus-technology.de>2024-08-13 14:33:45 +0200
committerJulian Stecklina <julian.stecklina@cyberus-technology.de>2024-08-13 14:33:45 +0200
commita48be457da9d8e111899d3767df7f68c5bfdcbe4 (patch)
tree848ae218eddeb0ca2646c3893985d730a781af70
parent30d7d4049d8423fc36d34408b9858b2a1aec2484 (diff)
Add Linux 6.11 environment
-rw-r--r--flake.nix18
1 files changed, 18 insertions, 0 deletions
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;
};
});
}