'No such file or directory' error when using buildGoPackage in nix

I’m trying to build the hasura cli: graphql-engine/cli at master · hasura/graphql-engine · GitHub with the following code (deps derived from dep2nix):

{ buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  version = "1.0.0-beta.2";
  name = "hasura-${version}";

  goPackagePath = "github.com/hasura/graphql-engine";
  subPackages = [ "cli" ];

  src = fetchFromGitHub {
    owner = "hasura";
    repo = "graphql-engine";
    rev = "v${version}";
    sha256 = "1b40s41idkp1nyb9ygxgsvrwv8rsll6dnwrifpn25bvnfk8idafr";

  goDeps = ./deps.nix; 

but I get the following errors after post-installation fixup:
find: '/nix/store/gkck68cm2z9k1qxgmh350pq3kwsbyn8q-hasura-cli-1.0.0-beta.2': No such file or directory.

What am I doing wrong here? For reference, I’m on macOS and using home-manager.