terragrunt: clean and sort arguments

lib was already imported so no need for stdenv.lib
sorted arguments into order of use
This commit is contained in:
06kellyjac 2020-10-23 09:48:39 +01:00
parent 2cb651ad14
commit 200bf0a3af

View file

@ -1,4 +1,4 @@
{ stdenv, lib, buildGoModule, fetchFromGitHub, terraform, makeWrapper }: { lib, buildGoModule, fetchFromGitHub, makeWrapper, terraform }:
buildGoModule rec { buildGoModule rec {
pname = "terragrunt"; pname = "terragrunt";
@ -24,7 +24,7 @@ buildGoModule rec {
--set TERRAGRUNT_TFPATH ${lib.getBin terraform.full}/bin/terraform --set TERRAGRUNT_TFPATH ${lib.getBin terraform.full}/bin/terraform
''; '';
meta = with stdenv.lib; { meta = with lib; {
description = "A thin wrapper for Terraform that supports locking for Terraform state and enforces best practices"; description = "A thin wrapper for Terraform that supports locking for Terraform state and enforces best practices";
homepage = "https://github.com/gruntwork-io/terragrunt/"; homepage = "https://github.com/gruntwork-io/terragrunt/";
license = licenses.mit; license = licenses.mit;