summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Stecklina <julian.stecklina@cyberus-technology.de>2024-05-21 11:42:57 +0200
committerJulian Stecklina <julian.stecklina@cyberus-technology.de>2024-05-21 11:42:57 +0200
commit10a64401a24f3f48df5dd4aad21b2cd80366e4bc (patch)
tree83f906f0066e097328c688565ed0f354edcf6080
parent571ab9ff664c6dbcbe3b8c3f97a1ddf59affe737 (diff)
Add environment for Linux 6.10
-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;
};
});
}