summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Stecklina <julian.stecklina@cyberus-technology.de>2024-06-27 15:41:46 +0200
committerJulian Stecklina <julian.stecklina@cyberus-technology.de>2024-06-27 15:41:46 +0200
commit30d7d4049d8423fc36d34408b9858b2a1aec2484 (patch)
tree978e78ca85d88f2f6a283b3869b122524cfc2c55
parent0bed667b788758846e08f602f76a84d7b1fcc149 (diff)
Add Linux 6.6 environment (without Rust)
-rw-r--r--flake.nix28
1 files changed, 22 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix
index 8eb47d7..99af264 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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 =