Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 642bed5ba32d
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8298ecc8a02f
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 20, 2019

  1. kustomize: 3.1.0 -> 3.3.1

    Jonathan Ringer committed Oct 20, 2019
    Copy the full SHA
    8298ecc View commit details
Showing with 13 additions and 13 deletions.
  1. +13 −13 pkgs/development/tools/kustomize/default.nix
26 changes: 13 additions & 13 deletions pkgs/development/tools/kustomize/default.nix
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, tree }:

buildGoModule rec {
pname = "kustomize";
version = "3.1.0";
# rev is the 3.1.0 commit, mainly for kustomize version command output
rev = "95f3303493fdea243ae83b767978092396169baf";
version = "3.3.1";
# rev is the 3.3.1 commit, mainly for kustomize version command output
rev = "f2ac5a2d0df13c047fb20cbc12ef1a3b41ce2dad";

goPackagePath = "sigs.k8s.io/kustomize";
subPackages = [ "cmd/kustomize" ];

buildFlagsArray = let t = "${goPackagePath}/v3/pkg/commands/misc"; in ''
buildFlagsArray = let t = "sigs.k8s.io/kustomize/v3/provenance"; in ''
-ldflags=
-s -X ${t}.kustomizeVersion=${version}
-s -X ${t}.version=${version}
-X ${t}.gitCommit=${rev}
-X ${t}.buildDate=unknown
'';

src = fetchFromGitHub {
sha256 = "0kigcirkjvnj3xi1p28p9yp3s0lff24q5qcvf8ahjwvpbwka14sh";
rev = "v${version}";
repo = pname;
owner = "kubernetes-sigs";
repo = pname;
rev = "v${version}";
sha256 = "0yxxz0b56r18w178y32s619zy8ci6l93c6vlzx11hhxhbw43f6v6";
};

modSha256 = "0w8sp73pmj2wqrg7x7z8diglyfq6c6gn9mmck0k1gk90nv7s8rf1";
# avoid finding test and development commands
sourceRoot = "source/kustomize";

modSha256 = "1bas6al14ck0d2ccb4235426a5hldqsm0nf8vi76chz4nahzb71g";

meta = with lib; {
description = "Customization of kubernetes YAML configurations";