Add local Nix expression
Document the type of thrown exceptions