summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-07-17 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2023-07-17 04:20:00 +0000
commitb2537bc8328d8c222cd4a047ff62fc4f465bb2c9 (patch)
tree9b6221270f3b34e9b13bf5379ee811fa18806745
parent5dd736dff724d87cd2df3e733b6cc389dd0f5a1a (diff)
downloadnixpkgs-b2537bc8328d8c222cd4a047ff62fc4f465bb2c9.tar
nixpkgs-b2537bc8328d8c222cd4a047ff62fc4f465bb2c9.tar.gz
nixpkgs-b2537bc8328d8c222cd4a047ff62fc4f465bb2c9.tar.bz2
nixpkgs-b2537bc8328d8c222cd4a047ff62fc4f465bb2c9.tar.lz
nixpkgs-b2537bc8328d8c222cd4a047ff62fc4f465bb2c9.tar.xz
nixpkgs-b2537bc8328d8c222cd4a047ff62fc4f465bb2c9.tar.zst
nixpkgs-b2537bc8328d8c222cd4a047ff62fc4f465bb2c9.zip
docker-slim: 1.40.2 -> 1.40.3
Diff: https://github.com/slimtoolkit/slim/compare/1.40.2...1.40.3

Changelog: https://github.com/slimtoolkit/slim/raw/1.40.3/CHANGELOG.md
-rw-r--r--pkgs/applications/virtualization/docker-slim/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/virtualization/docker-slim/default.nix b/pkgs/applications/virtualization/docker-slim/default.nix
index 964d86a445e..1834d38d7fb 100644
--- a/pkgs/applications/virtualization/docker-slim/default.nix
+++ b/pkgs/applications/virtualization/docker-slim/default.nix
@@ -2,13 +2,13 @@
 
 buildGoModule rec {
   pname = "docker-slim";
-  version = "1.40.2";
+  version = "1.40.3";
 
   src = fetchFromGitHub {
     owner = "slimtoolkit";
     repo = "slim";
     rev = version;
-    hash = "sha256-byB7GTw0hHY4dp3CkMCl6ga/Zn82+K6qmyWy6ezCLoE=";
+    hash = "sha256-fXB2rMW73F12ZO1sqUIiaky6LDiMasg3QcIgeWwtkOs=";
   };
 
   vendorHash = null;
@@ -17,6 +17,10 @@ buildGoModule rec {
 
   nativeBuildInputs = [ makeBinaryWrapper ];
 
+  preBuild = ''
+    go generate github.com/docker-slim/docker-slim/pkg/appbom
+  '';
+
   ldflags = [
     "-s"
     "-w"