diff options
| author | Julian Stecklina <julian.stecklina@cyberus-technology.de> | 2024-06-27 15:41:46 +0200 |
|---|---|---|
| committer | Julian Stecklina <julian.stecklina@cyberus-technology.de> | 2024-06-27 15:41:46 +0200 |
| commit | 30d7d4049d8423fc36d34408b9858b2a1aec2484 (patch) | |
| tree | 978e78ca85d88f2f6a283b3869b122524cfc2c55 | |
| parent | 0bed667b788758846e08f602f76a84d7b1fcc149 (diff) | |
Add Linux 6.6 environment (without Rust)
| -rw-r--r-- | flake.nix | 28 |
1 files changed, 22 insertions, 6 deletions
@@ -117,15 +117,13 @@ devShells = { default = self.devShells."${system}".linux_6_8; - # Linux 6.8 - linux_6_8 = pkgs.mkShell { + # Linux 6.6 + linux_6_6 = pkgs.mkShell { packages = linuxLlvmDependencies - ++ (linuxRustDependencies "rust_1_74_1") ++ linuxCommonDependencies; - # To force LLVM build mode. This should create less problems - # with Rust interop. + # To force LLVM build mode. LLVM = "1"; # Disable all automatically applied hardening. The Linux @@ -133,7 +131,7 @@ NIX_HARDENING_ENABLE = ""; }; - linux_6_8_gcc = pkgs.mkShell { + linux_6_6_gcc = pkgs.mkShell { packages = linuxGccDependencies ++ linuxCommonDependencies; @@ -143,6 +141,24 @@ NIX_HARDENING_ENABLE = ""; }; + # Linux 6.8 + linux_6_8 = pkgs.mkShell { + packages = + linuxLlvmDependencies + ++ (linuxRustDependencies "rust_1_74_1") + ++ 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_8_gcc = self.devShells."${system}".linux_6_6_gcc; + # Linux 6.9 linux_6_9 = pkgs.mkShell { packages = |
