From e0739a67f9ae0e538ddb6365cb21c5315c3b790b Mon Sep 17 00:00:00 2001 From: Malte Poll <1780588+malt3@users.noreply.github.com> Date: Thu, 23 Nov 2023 17:44:31 +0100 Subject: [PATCH] bazel: use cryptsetup from nix --- .../com_github_martinjungblut_go_cryptsetup.patch | 2 +- internal/cryptsetup/BUILD.bazel | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/bazel/com_github_martinjungblut_go_cryptsetup/com_github_martinjungblut_go_cryptsetup.patch b/3rdparty/bazel/com_github_martinjungblut_go_cryptsetup/com_github_martinjungblut_go_cryptsetup.patch index b342055fe..f87c1a730 100644 --- a/3rdparty/bazel/com_github_martinjungblut_go_cryptsetup/com_github_martinjungblut_go_cryptsetup.patch +++ b/3rdparty/bazel/com_github_martinjungblut_go_cryptsetup/com_github_martinjungblut_go_cryptsetup.patch @@ -5,7 +5,7 @@ ], cgo = True, + cdeps = [ -+ "@//rpm:cryptsetup", ++ "@//nix/cc:cryptsetup", + ], importpath = "github.com/martinjungblut/go-cryptsetup", visibility = ["//visibility:public"], diff --git a/internal/cryptsetup/BUILD.bazel b/internal/cryptsetup/BUILD.bazel index db8a1f465..ddb3e9a0b 100644 --- a/internal/cryptsetup/BUILD.bazel +++ b/internal/cryptsetup/BUILD.bazel @@ -9,7 +9,7 @@ go_library( ], # keep cdeps = [ - "@//rpm:cryptsetup", + "@//nix/cc:cryptsetup", ], cgo = True, importpath = "github.com/edgelesssys/constellation/v2/internal/cryptsetup",