Nix flake support #268
Replies: 3 comments
-
|
I managed to get external cache working by providing openssl to export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt
export CURL_CA_BUNDLE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DEVENV_ROOT/.devenv/state/venv/lib/python3.11/site-packages:${pkgs.stdenv.cc.cc.lib}/lib:${pkgs.libyaml}/lib:${pkgs.spdlog}/lib:${pkgs.openssl}/libIsaacSim log didn't provide any logs/warnings as to why it wasn't able to connect so I just got lucky I guess... I also extended my flake with ROS2 jazzy using nix-ros-overlay to create a fully working development environment. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for sharing your detailed setup and findings! This is a great contribution for others exploring Nix-based development with Isaac Sim and Isaac Lab. Your approach to using nixGL, nix-ros-overlay, and custom library path configuration provides a strong reference for reproducible, declarative dev environments. |
Beta Was this translation helpful? Give feedback.
-
|
We’ve created an internal feature request for Nix flake support based on this discussion for our team’s review. Thanks for sharing your setup and ideas! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Native installation on nixos can be a little tricky. Current workaround is using the offically provided container installation instructions (docker), however it would be nice to add support for declarative developer environments based on nix flakes.
I managed to run isaacsim/lab using the following configuration:
For isaac lab I ended up just cloning the repo to nix store and setting up an environmental variable
export ISAACLAB_ROOT="${isaaclab}"to access the examples:After some testing it seems to work pretty well, apart from using the external cache and downloading assets from the hub. This prevents us from using the default example:
isaaclab.sh -p $ISAACLAB_ROOT/scripts/reinforcement_learning/rsl_rl/train.py --task=Isaac-Ant-v0Console log:
The issue relates to how nix handles dynamically linked libraries. I managed to get the hub to work by patching it like so:
I'll investigate further and look into:
Beta Was this translation helpful? Give feedback.
All reactions