Revert "Add isPath to trivial.nix"

This breaks NixOS, and I don't actually need it, so someone who needs it
can bring this back without breaking NixOS :)

This reverts commit 2742087bdd092d77083dc99cdafb6e93444fba3e.

Signed-off-by: Shea Levy <shea@shealevy.com>