Loading pkgs/development/tools/build-managers/bob/default.nix +17 −2 Original line number Diff line number Diff line { lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }: { lib , stdenv , buildGoModule , fetchFromGitHub , installShellFiles , fetchpatch }: buildGoModule rec { pname = "bob"; Loading @@ -11,9 +17,18 @@ buildGoModule rec { hash = "sha256-zmWfOLBb+GWw9v6LdCC7/WaP1Wz7UipPwqkmI1+rG8Q="; }; patches = [ # Fix vulnerable dependencies # Backport of https://github.com/benchkram/bob/pull/387 (fetchpatch { url = "https://github.com/benchkram/bob/commit/5020e6fafbfbcb1b3add5d936886423ce882793d.patch"; hash = "sha256-if1ZErI0Un7d26eOkYSkEa87+VTRcEtF6JbsJYOHpHE="; }) ]; ldflags = [ "-s" "-w" "-X main.Version=${version}" ]; vendorHash = "sha256-S1XUgjdSVTWXehOLCxXcvj0SH12cxqvYadVlCw/saF4="; vendorHash = "sha256-u0nFaTQWU9O7A/RAhGaLcBka+YNGjSlpycDF8TLQALw="; excludedPackages = [ "example/server-db" "test/e2e" "tui-example" ]; Loading Loading
pkgs/development/tools/build-managers/bob/default.nix +17 −2 Original line number Diff line number Diff line { lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }: { lib , stdenv , buildGoModule , fetchFromGitHub , installShellFiles , fetchpatch }: buildGoModule rec { pname = "bob"; Loading @@ -11,9 +17,18 @@ buildGoModule rec { hash = "sha256-zmWfOLBb+GWw9v6LdCC7/WaP1Wz7UipPwqkmI1+rG8Q="; }; patches = [ # Fix vulnerable dependencies # Backport of https://github.com/benchkram/bob/pull/387 (fetchpatch { url = "https://github.com/benchkram/bob/commit/5020e6fafbfbcb1b3add5d936886423ce882793d.patch"; hash = "sha256-if1ZErI0Un7d26eOkYSkEa87+VTRcEtF6JbsJYOHpHE="; }) ]; ldflags = [ "-s" "-w" "-X main.Version=${version}" ]; vendorHash = "sha256-S1XUgjdSVTWXehOLCxXcvj0SH12cxqvYadVlCw/saF4="; vendorHash = "sha256-u0nFaTQWU9O7A/RAhGaLcBka+YNGjSlpycDF8TLQALw="; excludedPackages = [ "example/server-db" "test/e2e" "tui-example" ]; Loading