Resolve the path to make the Nix expression work from any location