diff options
author | Julian Stecklina <julian.stecklina@cyberus-technology.de> | 2024-05-21 11:42:57 +0200 |
---|---|---|
committer | Julian Stecklina <julian.stecklina@cyberus-technology.de> | 2024-05-21 11:42:57 +0200 |
commit | 10a64401a24f3f48df5dd4aad21b2cd80366e4bc (patch) | |
tree | 83f906f0066e097328c688565ed0f354edcf6080 | |
parent | 571ab9ff664c6dbcbe3b8c3f97a1ddf59affe737 (diff) |
Add environment for Linux 6.10
-rw-r--r-- | flake.nix | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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; }; }); } |