pulumi.pkgs.mkPulumiPackage: cleanup unnecessary inherits
In `{ inherit (x) a b c; ... } // x`,
the inherited attributes are always superfluous
This commit is contained in:
@@ -16,15 +16,7 @@ let
|
||||
...
|
||||
}@args:
|
||||
buildGoModule (
|
||||
rec {
|
||||
inherit
|
||||
pname
|
||||
src
|
||||
vendorHash
|
||||
version
|
||||
env
|
||||
;
|
||||
|
||||
{
|
||||
sourceRoot = "${src.name}/provider";
|
||||
|
||||
subPackages = [ "cmd/${cmd}" ];
|
||||
@@ -147,16 +139,8 @@ let
|
||||
in
|
||||
mkBasePackage (
|
||||
{
|
||||
inherit
|
||||
meta
|
||||
src
|
||||
version
|
||||
vendorHash
|
||||
extraLdflags
|
||||
env
|
||||
;
|
||||
|
||||
pname = repo;
|
||||
inherit env src;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pulumi-gen
|
||||
|
||||
Reference in New Issue
Block a user