From 361b409eb2c721e36170c25a75dd1bb15b9d7733 Mon Sep 17 00:00:00 2001 From: Malte Poll <1780588+malt3@users.noreply.github.com> Date: Thu, 23 Nov 2023 17:39:04 +0100 Subject: [PATCH] bazel: use libvirt from nix --- 3rdparty/bazel/org_libvirt_go_libvirt/go_libvirt.need | 2 +- 3rdparty/bazel/org_libvirt_go_libvirt/go_libvirt.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/bazel/org_libvirt_go_libvirt/go_libvirt.need b/3rdparty/bazel/org_libvirt_go_libvirt/go_libvirt.need index 6f847207f..dd57bb7a3 100644 --- a/3rdparty/bazel/org_libvirt_go_libvirt/go_libvirt.need +++ b/3rdparty/bazel/org_libvirt_go_libvirt/go_libvirt.need @@ -96,7 +96,7 @@ go_library( "typedparams.go", ], cdeps = [ - "@//rpm:libvirt", + "@//nix/cc:libvirt", ], cgo = True, importpath = "libvirt.org/go/libvirt", diff --git a/3rdparty/bazel/org_libvirt_go_libvirt/go_libvirt.patch b/3rdparty/bazel/org_libvirt_go_libvirt/go_libvirt.patch index 5ce4bc2fd..d2c799cae 100644 --- a/3rdparty/bazel/org_libvirt_go_libvirt/go_libvirt.patch +++ b/3rdparty/bazel/org_libvirt_go_libvirt/go_libvirt.patch @@ -5,7 +5,7 @@ "typedparams.go", ], + cdeps = [ -+ "@//rpm:libvirt", ++ "@//nix/cc:libvirt", + ], cgo = True, importpath = "libvirt.org/go/libvirt",