diff options
| author | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-10-28 12:55:08 +0000 |
|---|---|---|
| committer | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-11-06 17:22:41 +0000 |
| commit | 1644f0843e6338092098f3f20e2a275dd62e9434 (patch) | |
| tree | 1771800c8a5c224c4f417b1cf333d87b8bb218ba /flake.nix | |
| parent | 0bf70d66b1ae590c9b1cdf4a45ef8cadf549d265 (diff) | |
| download | focaccia-1644f0843e6338092098f3f20e2a275dd62e9434.tar.gz focaccia-1644f0843e6338092098f3f20e2a275dd62e9434.zip | |
Integrate capnproto into python build
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix index a634880..aa381b3 100644 --- a/flake.nix +++ b/flake.nix @@ -249,6 +249,11 @@ ''; gdbInternal = pkgs.gdb.override { python3 = python; }; + rr = pkgs.rr.overrideAttrs (old: { + pname = "focaccia-rr"; + version = "git"; + src = ./rr; + }); in rec { # Default package just builds Focaccia packages = rec { @@ -320,7 +325,8 @@ type = "app"; program = "${pkgs.writeShellScriptBin "uv-sync" '' set -euo pipefail - exec ${pkgs.uv}/bin/uv sync + ${pkgs.uv}/bin/uv sync + sed -i '/riscv/d' uv.lock ''}/bin/uv-sync"; meta = { description = "Sync uv python packages"; @@ -370,7 +376,7 @@ musl-extra = pkgs.mkShell { packages = [ packages.dev - pkgs.rr + rr musl-pkgs.gcc musl-pkgs.pkg-config ]; |