From 2f8f9bc2e39fb8e9f8451637c617b73f2fb65ce0 Mon Sep 17 00:00:00 2001 From: Jesse Cirimelli-Low Date: Mon, 4 May 2026 16:56:27 -0700 Subject: [PATCH] use python venv so we can still run make library --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index 8c6fcee2..d3af291b 100644 --- a/flake.nix +++ b/flake.nix @@ -17,6 +17,12 @@ in { default = pkgs.mkShell { + # Pip wheels (e.g. numpy in .venv) need common shared libs at runtime on Nix. + LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ + pkgs.stdenv.cc.cc.lib + pkgs.zlib + ]; + packages = [ # FOSSI PDK ciel (nixpkgs `ciel` is unrelated: AOSC ciel-rs, wants root) pkgs.pdk-ciel