about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-11-06 18:56:50 +0000
committerTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-11-06 18:56:50 +0000
commitbf283192197c971d84ad2766bd4b6f55e95e509a (patch)
treed00463988ae658d34d903fcd0e2b7dea7a15b039
parent56f9fb03f36fe8a16ae1421e25c5e036d6e42018 (diff)
downloadfocaccia-bf283192197c971d84ad2766bd4b6f55e95e509a.tar.gz
focaccia-bf283192197c971d84ad2766bd4b6f55e95e509a.zip
Separate box64 musl environment for regular musl environment
-rw-r--r--flake.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 45ec28d..a1420ba 100644
--- a/flake.nix
+++ b/flake.nix
@@ -359,6 +359,19 @@
 					packages.dev
 					musl-pkgs.gcc
 					musl-pkgs.pkg-config
+				];
+
+				hardeningDisable = [ "pie" ];
+
+				env = uvEnv;
+				shellHook = uvShellHook;
+			};
+
+			musl-box64 = pkgs.mkShell {
+				packages = [
+					packages.dev
+					musl-pkgs.gcc
+					musl-pkgs.pkg-config
                     box64-patched
 				];