Running Magit inside Nix-Shell
Since this program requires Nix, your operating system must support Nix. At present, Linux and Mac are supported, but Windows is not. However, you can install Nix on Windows Subsystem for Linux (WSL).
Install Nix package manager, if you haven’t already:
curl https://nixos.org/nix/install | sh
For details, see the Nix manual.
Inside a Git repository, run the following command:
Then Emacs starts and Magit displays the status of your Git repository.
It would be a good idea to define an alias for the command:
alias magit='nix-shell https://github.com/akirak/nix-magit/archive/master.tar.gz'