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-16 10:06:10 +0000
committerTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-11-11 08:54:51 +0000
commitf17f4fe8f70bec8413af340f56925b31b5620c85 (patch)
treeca2b9409c089bb91ebc6b5c0a0a7cbe6debc00a7 /flake.nix
parent61d5d618756d11a02e621ee03835f65941c44645 (diff)
downloadfocaccia-f17f4fe8f70bec8413af340f56925b31b5620c85.tar.gz
focaccia-f17f4fe8f70bec8413af340f56925b31b5620c85.zip
Include musl-compiled and statically-linked redis as dependency
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index a1420ba..8f6fd89 100644
--- a/flake.nix
+++ b/flake.nix
@@ -254,6 +254,10 @@
 			version = "git";
 			src = ./rr;
 		});
+
+		musl-redis-nocheck = musl-pkgs.pkgsStatic.redis.overrideAttrs (_: {
+			doCheck = false;
+		});
 	in rec {
 		# Default package just builds Focaccia
 		packages = rec {
@@ -390,9 +394,25 @@
 				packages = [
 					packages.dev
 					rr
+					pkgs.capnproto
 					musl-pkgs.gcc
+					musl-pkgs.pkg-config
+				];
+
+				hardeningDisable = [ "pie" ];
+
+				env = uvEnv;
+				shellHook = uvShellHook;
+			};
+
+			musl-all = pkgs.mkShell {
+				packages = [
+					packages.dev
+					pkgs.rr
 					pkgs.capnproto
+					musl-pkgs.gcc
 					musl-pkgs.pkg-config
+					musl-redis-nocheck
 				];
 
 				hardeningDisable = [ "pie" ];