$ nix-env -f '.' -iA kubespy
[...]
github.com/pulumi/pulumi-kubernetes/pkg/openapi
# github.com/pulumi/pulumi-kubernetes/pkg/openapi
go/src/github.com/pulumi/pulumi-kubernetes/pkg/openapi/openapi.go:64:39: cannot use gvk (type "k8s.io/apimachinery/pkg/runtime/schema".GroupVersionKind) as type "k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime/schema".GroupVersionKind in argument to resources.LookupResource
go/src/github.com/pulumi/pulumi-kubernetes/pkg/openapi/openapi.go:107:42: cannot use gvk (type "k8s.io/apimachinery/pkg/runtime/schema".GroupVersionKind) as type "k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime/schema".GroupVersionKind in argument to resources.LookupResource
go/src/github.com/pulumi/pulumi-kubernetes/pkg/openapi/openapi.go:110:29: cannot use resSchema (type "k8s.io/kubernetes/vendor/k8s.io/kube-openapi/pkg/util/proto".Schema) as type "k8s.io/kube-openapi/pkg/util/proto".Schema in argument to strategicMergePatch:
"k8s.io/kubernetes/vendor/k8s.io/kube-openapi/pkg/util/proto".Schema does not implement "k8s.io/kube-openapi/pkg/util/proto".Schema (wrong type for Accept method)
have Accept("k8s.io/kubernetes/vendor/k8s.io/kube-openapi/pkg/util/proto".SchemaVisitor)
want Accept("k8s.io/kube-openapi/pkg/util/proto".SchemaVisitor)
go/src/github.com/pulumi/pulumi-kubernetes/pkg/openapi/openapi.go:165:44: cannot use gvk (type "k8s.io/apimachinery/pkg/runtime/schema".GroupVersionKind) as type "k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime/schema".GroupVersionKind in argument to scheme.Scheme.New
go/src/github.com/pulumi/pulumi-kubernetes/pkg/openapi/openapi.go:216:31: cannot use schema (type *"github.com/googleapis/gnostic/OpenAPIv2".Document) as type *"k8s.io/kubernetes/vendor/github.com/googleapis/gnostic/OpenAPIv2".Document in argument to openapi.NewOpenAPIData
[...]
builder for '/nix/store/wpyzl74r48as7k5jcdp9r579nadsyc8p-kubespy-0.5.1.drv' failed with exit code 1
error: build of '/nix/store/wpyzl74r48as7k5jcdp9r579nadsyc8p-kubespy-0.5.1.drv' failed
building kubespy on https://github.com/NixOS/nixpkgs/pull/92197 fails
Please note, that
github.com/pulumi/pulumi-kubernetes
is tagged according to https://github.com/pulumi/kubespy/commit/438edbfd5a9a72992803d45addb1f45b10a0b62f (=https://github.com/pulumi/kubespy/releases/tag/v0.5.1), see:Being from Sep 11, 2018, https://github.com/pulumi/pulumi-kubernetes/releases/tag/v0.17.0 might be outdated, however it is tagged here: https://github.com/pulumi/kubespy/blob/master/go.mod#L58