commit 70e2d53f65888695e83d410674b7e16f2a4da1d2
parent f6b5bb512d58c8fccc7cab3a65696294503e67f4
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 5 Sep 2022 17:31:57 +0200
nix/packages: fix opm flags
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/nix/packages/operator-sdk/opm.nix b/nix/packages/operator-sdk/opm.nix
@@ -19,12 +19,13 @@ rec {
subPackages = [ "cmd/opm" ];
ldflags =
let
- t = "https://github.com/operator-framework/operator-registry/cmd/opm/version";
+ t = "github.com/operator-framework/operator-registry/cmd/opm/version";
in
[
"-X ${t}.gitCommit=${version}"
"-X ${t}.opmVersion=${version}"
];
+ tags = [ "json1" ];
src = fetchFromGitHub {
inherit rev;