Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@
};
shellHook = ''
unset PYTHONPATH
# The uv-managed .venv installs prebuilt PyPI wheels (numpy,
# matplotlib, ...) whose C-extensions link against system libraries
# that are not on NixOS's default loader path. Expose them so the
# wheels can be imported.
export LD_LIBRARY_PATH="${lib.makeLibraryPath [pkgs.stdenv.cc.cc.lib pkgs.zlib]}''${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
'';
};
};
Expand Down
Loading