Loading pkgs/tools/admin/syft/default.nix +8 −8 Original line number Diff line number Diff line Loading @@ -2,13 +2,13 @@ buildGoModule rec { pname = "syft"; version = "0.88.0"; version = "0.90.0"; src = fetchFromGitHub { owner = "anchore"; repo = pname; rev = "v${version}"; hash = "sha256-A9EYbZigG6TmyYhMjqhpZRaYnR7KzCJpaOBEEaSXWQ4="; hash = "sha256-W1BLwoqo7sDRZ1LjAbfuuZpoJCWfAK8ekIFwfItkH4A="; # populate values that require us to use git. By doing this in postFetch we # can delete .git afterwards and maintain better reproducibility of the src. leaveDotGit = true; Loading @@ -22,7 +22,7 @@ buildGoModule rec { }; # hash mismatch with darwin proxyVendor = true; vendorHash = "sha256-7KL/Z95Gg2Cy6oUIVS8KLS3DvQYcLCZaxgKbtzR1M1U="; vendorHash = "sha256-TG292RncaL/4kfuM02huEaIAsuUj7vrTre2aFnjqx3Y="; nativeBuildInputs = [ installShellFiles ]; Loading @@ -31,14 +31,14 @@ buildGoModule rec { ldflags = [ "-s" "-w" "-X github.com/anchore/syft/internal/version.version=${version}" "-X github.com/anchore/syft/internal/version.gitDescription=v${version}" "-X github.com/anchore/syft/internal/version.gitTreeState=clean" "-X main.version=${version}" "-X main.gitDescription=v${version}" "-X main.gitTreeState=clean" ]; preBuild = '' ldflags+=" -X github.com/anchore/syft/internal/version.gitCommit=$(cat COMMIT)" ldflags+=" -X github.com/anchore/syft/internal/version.buildDate=$(cat SOURCE_DATE_EPOCH)" ldflags+=" -X main.gitCommit=$(cat COMMIT)" ldflags+=" -X main.buildDate=$(cat SOURCE_DATE_EPOCH)" ''; # tests require a running docker instance Loading pkgs/top-level/all-packages.nix +3 −1 Original line number Diff line number Diff line Loading @@ -13654,7 +13654,9 @@ with pkgs; systrayhelper = callPackage ../tools/misc/systrayhelper { }; syft = callPackage ../tools/admin/syft { }; syft = callPackage ../tools/admin/syft { buildGoModule = buildGo121Module; }; Sylk = callPackage ../applications/networking/Sylk { }; Loading
pkgs/tools/admin/syft/default.nix +8 −8 Original line number Diff line number Diff line Loading @@ -2,13 +2,13 @@ buildGoModule rec { pname = "syft"; version = "0.88.0"; version = "0.90.0"; src = fetchFromGitHub { owner = "anchore"; repo = pname; rev = "v${version}"; hash = "sha256-A9EYbZigG6TmyYhMjqhpZRaYnR7KzCJpaOBEEaSXWQ4="; hash = "sha256-W1BLwoqo7sDRZ1LjAbfuuZpoJCWfAK8ekIFwfItkH4A="; # populate values that require us to use git. By doing this in postFetch we # can delete .git afterwards and maintain better reproducibility of the src. leaveDotGit = true; Loading @@ -22,7 +22,7 @@ buildGoModule rec { }; # hash mismatch with darwin proxyVendor = true; vendorHash = "sha256-7KL/Z95Gg2Cy6oUIVS8KLS3DvQYcLCZaxgKbtzR1M1U="; vendorHash = "sha256-TG292RncaL/4kfuM02huEaIAsuUj7vrTre2aFnjqx3Y="; nativeBuildInputs = [ installShellFiles ]; Loading @@ -31,14 +31,14 @@ buildGoModule rec { ldflags = [ "-s" "-w" "-X github.com/anchore/syft/internal/version.version=${version}" "-X github.com/anchore/syft/internal/version.gitDescription=v${version}" "-X github.com/anchore/syft/internal/version.gitTreeState=clean" "-X main.version=${version}" "-X main.gitDescription=v${version}" "-X main.gitTreeState=clean" ]; preBuild = '' ldflags+=" -X github.com/anchore/syft/internal/version.gitCommit=$(cat COMMIT)" ldflags+=" -X github.com/anchore/syft/internal/version.buildDate=$(cat SOURCE_DATE_EPOCH)" ldflags+=" -X main.gitCommit=$(cat COMMIT)" ldflags+=" -X main.buildDate=$(cat SOURCE_DATE_EPOCH)" ''; # tests require a running docker instance Loading
pkgs/top-level/all-packages.nix +3 −1 Original line number Diff line number Diff line Loading @@ -13654,7 +13654,9 @@ with pkgs; systrayhelper = callPackage ../tools/misc/systrayhelper { }; syft = callPackage ../tools/admin/syft { }; syft = callPackage ../tools/admin/syft { buildGoModule = buildGo121Module; }; Sylk = callPackage ../applications/networking/Sylk { };