From 4ed02f4ae6f04ca9127dad6d629274cac18e0cd8 Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Tue, 2 Mar 2021 13:13:47 +0000 Subject: [PATCH] dockle: 0.3.10 -> 0.3.11 --- pkgs/development/tools/dockle/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/development/tools/dockle/default.nix b/pkgs/development/tools/dockle/default.nix index d78b54b33e4f..5ecaddc6f1bc 100644 --- a/pkgs/development/tools/dockle/default.nix +++ b/pkgs/development/tools/dockle/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "dockle"; - version = "0.3.10"; + version = "0.3.11"; src = fetchFromGitHub { owner = "goodwithtech"; repo = pname; rev = "v${version}"; - sha256 = "sha256-oS3ZGQkDSRdVLluLNg56VGp6MCrRDlgjk1va1+xocas="; + sha256 = "sha256-TAV+bdHURclrwM0ByfbM2S4GdAnHrwclStyUlGraOpw="; }; vendorSha256 = "sha256-npbUE3ch8TamW0aikdKuFElE4YDRKwNVUscuvmlQxl4="; @@ -16,12 +16,9 @@ buildGoModule rec { nativeBuildInputs = [ pkg-config ]; buildInputs = [ btrfs-progs lvm2 ]; - buildFlagsArray = [ - "-ldflags=" - "-s" - "-w" - "-X main.version=${version}" - ]; + preBuild = '' + buildFlagsArray+=("-ldflags" "-s -w -X main.version=${version}") + ''; preCheck = '' # Remove tests that use networking