Merge pull request #199168 from 06kellyjac/syft

authored by

Sandro and committed by
GitHub
e28283b9 cd7a92cb

+5 -3
+5 -3
pkgs/tools/admin/syft/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "syft"; 5 - version = "0.59.0"; 5 + version = "0.60.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "anchore"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-jFBYH3xhny+KURoYiuyblntmtKD9XKLp3V2ifqkfHZg="; 11 + sha256 = "sha256-qOsKpJwX+8wFvVt/vLdVJ47rfoOn+11phq4HsQVLV6M="; 12 12 # populate values that require us to use git. By doing this in postFetch we 13 13 # can delete .git afterwards and maintain better reproducibility of the src. 14 14 leaveDotGit = true; ··· 20 20 find "$out" -name .git -print0 | xargs -0 rm -rf 21 21 ''; 22 22 }; 23 - vendorSha256 = "sha256-xoGraf3Rh14lHyTU12qFxwk1Cv9N6u5FSxtro0zwRJM="; 23 + # hash mismatch with darwin 24 + proxyVendor = true; 25 + vendorSha256 = "sha256-gwj6Tj4JqZCCLOSw+K1DpwKhcWLtJ6YY5No20WbqQHU="; 24 26 25 27 nativeBuildInputs = [ installShellFiles ]; 26 28