diff options
| author | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-10-16 10:06:10 +0000 |
|---|---|---|
| committer | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-10-30 13:41:07 +0000 |
| commit | 3a919662b624925685dbf91462d63ca8ffae150a (patch) | |
| tree | 8d0e7a88ea372eda9d8998ea22ecfe9479f91f89 | |
| parent | 62631134895417c7993677e8bf73206253eac5b0 (diff) | |
| download | focaccia-3a919662b624925685dbf91462d63ca8ffae150a.tar.gz focaccia-3a919662b624925685dbf91462d63ca8ffae150a.zip | |
Include musl-compiled and statically-linked redis as dependency
| -rw-r--r-- | flake.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix index fccabba..0ec13ee 100644 --- a/flake.nix +++ b/flake.nix @@ -248,6 +248,10 @@ ''; gdbInternal = pkgs.gdb.override { python3 = python; }; + + musl-redis-nocheck = musl-pkgs.pkgsStatic.redis.overrideAttrs (_: { + doCheck = false; + }); in rec { # Default package just builds Focaccia packages = rec { @@ -364,6 +368,21 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${zydis-shared-object}/lib ''; }; + + musl-all = pkgs.mkShell { + packages = [ + packages.dev + pkgs.rr + musl-pkgs.gcc + musl-redis-nocheck + musl-pkgs.pkg-config + ]; + + hardeningDisable = [ "pie" ]; + + env = uvEnv; + shellHook = uvShellHook; + }; }; checks = { |