Skip to content

Commit

Permalink
build(nix): use 1.0.0-local version in the nix package
Browse files Browse the repository at this point in the history
  • Loading branch information
tembleking committed Dec 11, 2024
1 parent 70b60bc commit 7893a31
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion package.nix
Original file line number Diff line number Diff line change
@@ -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-local"
# }
# }
# }
terraform-providers.mkProvider {
owner = "sysdiglabs";
repo = "terraform-provider-sysdig";
homepage = "https://registry.terraform.io/providers/sysdiglabs/sysdig";
rev = "master";
rev = "1.0.0-local"; # Keeping this version fixed with a `-local` version, so user can just bundle the concrete plugin version with terraform using nix.
vendorHash = "sha256-9ru4RkH2fDWcgM0I3URlWd811PwySktd+gLsEr624WM=";
hash = "";
mkProviderFetcher = { ... }: ./.;
Expand Down

0 comments on commit 7893a31

Please sign in to comment.