I often need to set up quick virtual environments. Unfortunately, the standard approach to work with this in nix deals with the local nixpkgs mechanism for python dependencies: 1nix-shell -p "python38.withPackages(ps: [ ps.numpy ps.sh ])" However there is a catch for packages which are not officially present upstream. 1# Fails! 2nix-shell -p "python38.withPackages(ps: [ ps.numpy ps.sh ps.lieer ])" However, the mach-nix project can indeed be used to work around this, at the cost of a somewhat ...