diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/nixpkgs/default.nix | 12 | ||||
-rw-r--r-- | third_party/terraform-provider-glesys/default.nix | 16 |
2 files changed, 12 insertions, 16 deletions
diff --git a/third_party/nixpkgs/default.nix b/third_party/nixpkgs/default.nix index 27a5a8673e1a..5afed93e4c60 100644 --- a/third_party/nixpkgs/default.nix +++ b/third_party/nixpkgs/default.nix @@ -13,16 +13,16 @@ let # nixos-unstable, and the current stable channel of the latest NixOS # release. - # Tracking nixos-unstable as of 2022-01-15. + # Tracking nixos-unstable as of 2022-01-27. unstableHashes = { - commit = "5aaed40d22f0d9376330b6fa413223435ad6fee5"; - sha256 = "0bs8sr92lzz7mdrlv143draq3j7l42dj69w3px1x31qcr3n5pgcv"; + commit = "945ec499041db73043f745fad3b2a3a01e826081"; + sha256 = "1ixv310sjw0r5vda4yfwp3snyha2i9h7aqygd43cyvdk2qsjk8pq"; }; - # Tracking nixos-21.11 as of 2022-01-16. + # Tracking nixos-21.11 as of 2022-01-26. stableHashes = { - commit = "3ddd960a3b575bf3230d0e59f42614b71f9e0db9"; - sha256 = "1sk60h584gfdf5ql3mv4hps6jly6yj6dc5fbkfkh082z1c8885vk"; + commit = "b3d86c56c786ad9530f1400adbd4dfac3c42877b"; + sha256 = "09nslcjdgwwb6j9alxrsnq1wvhifq1nmzl2w02l305j0wsmgdial"; }; # import the nixos-unstable package set, or optionally use the diff --git a/third_party/terraform-provider-glesys/default.nix b/third_party/terraform-provider-glesys/default.nix index a944af34f99d..51582fd60929 100644 --- a/third_party/terraform-provider-glesys/default.nix +++ b/third_party/terraform-provider-glesys/default.nix @@ -3,21 +3,17 @@ # Some TVL resources (DNS, object storage, ...) are hosted with them. { pkgs, ... }: -pkgs.buildGoModule rec { - pname = "terraform-provider-glesys"; +pkgs.terraform-providers.mkProvider rec { version = "0.3.1"; - src = pkgs.fetchFromGitHub { - owner = "glesys"; - repo = pname; - rev = "v${version}"; - sha256 = "1rcwzf31gdxjywkcnlq1nxv4y8fcrc2z2xrp73q61mglv01bqq8m"; - }; + owner = "glesys"; + repo = "terraform-provider-glesys"; + rev = "v${version}"; + sha256 = "1rcwzf31gdxjywkcnlq1nxv4y8fcrc2z2xrp73q61mglv01bqq8m"; vendorSha256 = "0g5g69absf0vmin0ff0anrxcgfq0bzx4iz3qci90p9xkvyph4nlw"; - postInstall = "mv $out/bin/${pname}{,_v${version}}"; # This provider is not officially published in the TF registry, so # we're giving it a fake source here. - passthru.provider-source-address = "registry.terraform.io/depot/glesys"; + provider-source-address = "registry.terraform.io/depot/glesys"; } |