From 340fefe3766d4bcdeb941827c372dab8e1f9448f Mon Sep 17 00:00:00 2001 From: Fede Barcelona Date: Wed, 11 Dec 2024 10:42:55 +0100 Subject: [PATCH] build(nix): use 1.0.0-latest version in the nix package --- package.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/package.nix b/package.nix index 4619070e..56fbb885 100644 --- a/package.nix +++ b/package.nix @@ -1,11 +1,20 @@ { terraform-providers, }: +# Allows testing of the provider with the following block: +# terraform { +# required_providers { +# sysdig = { +# source = "sysdiglabs/sysdig" +# version = "=1.0.0-latest" +# } +# } +# } terraform-providers.mkProvider { owner = "sysdiglabs"; repo = "terraform-provider-sysdig"; homepage = "https://registry.terraform.io/providers/sysdiglabs/sysdig"; - rev = "master"; + rev = "1.0.0-latest"; # Keeping this version fixed with a `-latest` version, so user can just bundle the concrete plugin version with terraform using nix. vendorHash = "sha256-9ru4RkH2fDWcgM0I3URlWd811PwySktd+gLsEr624WM="; hash = ""; mkProviderFetcher = { ... }: ./.;