Skip to content

HorizonRobotics/alf-nix-devenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

built with nix

alf-nix-devenv

The nix-based development environment for [alf])(https://github.com/HorizonRobotics/alf).

To activate the environment with nix:

$ nix develop

To update the alf dependency

Run the following to pull in new alf changes into nix dev env:

  1. Update alf branch:
cd ~/alf
git checkout pytorch
git pull
git checkout PR/breakds/alf_packaged_new # or alf_packaged (for older alf with running stats change reverted)
git rebase pytorch  # resolve conflicts as needed
git push --force
  1. Update alf dependency for alf-nix-devenv
git rebase
cd ~/projects/alf-nix-devenv
nix flake lock --update-input alf
  1. Start the new devenv:
cd ~/Hobot
nix develop --option binary-caches "https://cache.nixos.org/" ~/projects/alf-nix-devenv#hobot-dev

NOTE: If direnv is installed, simply press Enter to activate new hobot devenv.

NOTE: --option binary-caches "https://cache.nixos.org/" is only needed when the local binary cache server fails to respond.

Other useful development environment

  1. OpenAI Phasic Policy Gradient (PPG) Official Repo's Development Environment

    $ nix develop "github:HorizonRobotics#openai-ppg-dev"

    This is used to run PPG which includes the procgen benchmark.

About

The nix-based development environment for alf

Resources

License

Stars

Watchers

Forks

Packages

No packages published