Fix generation from local archives and rel. paths
Fix generation from local archives and rel. paths

`nix-prefetch-zip` cannot handle relative paths. Therefore,
we need to resolve the relative path before passing it to
`nix-prefetch-zip`. You also probably don't want a relative path in your
derivation when generating from an archive file.

Also, `cabal2nix` now automatically adds a `./` in front of paths that
contain no slash (this is needed for nix to recognize the path).

jb55/cabal2nix,dmalikov/cabal2nix,Fuuzetsu/cabal2nix,psibi/cabal2nix,gridaphobe/cabal2nix,bennofs/cabal2nix,spencerjanssen/cabal2nix