by blinry · 1y ago · 0 comments
The command `nix shell nixpkgs#qemu` puts the qemu binaries in your $PATH temporarily, you can hit Ctrl-D to leave that environment. And the Nix flake I show works similarly – the specified tools are only available to you when entering the directory where the .envrc file is.
These techniques work without other special shell/terminal software, and you can use Nix on any operating system, not only on NixOS. This is my favorite introduction to the ecosystem, I think you might like it: https://zero-to-nix.com
No comments yet.