diff options
| author | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-10-16 10:06:10 +0000 |
|---|---|---|
| committer | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-11-11 08:54:51 +0000 |
| commit | f17f4fe8f70bec8413af340f56925b31b5620c85 (patch) | |
| tree | ca2b9409c089bb91ebc6b5c0a0a7cbe6debc00a7 | |
| parent | 61d5d618756d11a02e621ee03835f65941c44645 (diff) | |
| download | focaccia-f17f4fe8f70bec8413af340f56925b31b5620c85.tar.gz focaccia-f17f4fe8f70bec8413af340f56925b31b5620c85.zip | |
Include musl-compiled and statically-linked redis as dependency
| -rw-r--r-- | flake.nix | 20 |
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" ]; |