about summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
authorTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-10-21 12:17:47 +0000
committerTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-11-06 17:20:03 +0000
commitadb2b16164d0f7b049b97e4ac77ed3b866f56e0c (patch)
tree94581bc82127758139319f48ca38b5f5d7fa5644 /flake.nix
parent8dafa981b7445bbd76f081eed7fefdee432f380e (diff)
downloadfocaccia-adb2b16164d0f7b049b97e4ac77ed3b866f56e0c.tar.gz
focaccia-adb2b16164d0f7b049b97e4ac77ed3b866f56e0c.zip
Add musl-extra target that includes RR
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 931cba9..a634880 100644
--- a/flake.nix
+++ b/flake.nix
@@ -366,6 +366,20 @@
                   export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${zydis-shared-object}/lib
                 '';
 			};
+
+			musl-extra = pkgs.mkShell {
+				packages = [
+					packages.dev
+					pkgs.rr
+					musl-pkgs.gcc
+					musl-pkgs.pkg-config
+				];
+
+				hardeningDisable = [ "pie" ];
+
+				env = uvEnv;
+				shellHook = uvShellHook;
+			};
 		};
 
 		checks = {