···1010 inherit sha256;
1111 };
12121313+ modRoot = "src/go";
1414+1315 vendorSha256 = "1ral3xg58x0lf5vl839nlabf443yzqnbrlzm0q127mvv412f5ajc";
14161515- nativeBuildInputs = [ autoreconfHook pkg-config];
1717+ nativeBuildInputs = [ autoreconfHook pkg-config ];
1618 buildInputs = [ libiconv openssl pcre zlib ];
17191820 inherit (buildGoModule.go) GOOS GOARCH;
···3739 '';
38403941 # zabbix build process is complex to get right in nix...
4040- # we need to manipulate a number of things for their build
4141- # system to properly work
4242+ # use automake to build the go project ensuring proper access to the go vendor directory
4243 buildPhase = ''
4343- cp -r vendor src/go/vendor
4444+ cd ../..
4445 make
4546 '';
4647···4849 install -Dm0644 src/go/conf/zabbix_agent2.conf $out/etc/zabbix_agent2.conf
4950 install -Dm0755 src/go/bin/zabbix_agent2 $out/bin/zabbix_agent2
5051 '';
5151-5252- # run `go mod vendor` from the correct directory
5353- overrideModAttrs = (_oldAttrs : {
5454- preConfigure = ''
5555- cd src/go
5656- '';
5757- });
58525953 meta = with lib; {
6054 description = "An enterprise-class open source distributed monitoring solution (client-side agent)";
+2-2
pkgs/tools/misc/jdupes/default.nix
···2233stdenv.mkDerivation rec {
44 pname = "jdupes";
55- version = "1.19.1";
55+ version = "1.19.2";
6677 src = fetchFromGitHub {
88 owner = "jbruchon";
99 repo = "jdupes";
1010 rev = "v${version}";
1111- sha256 = "sha256-1gx3rStqIxLt/iRgpdp5z7tX1/wA0miZ1y5WTeGQ1Vs=";
1111+ sha256 = "sha256-3lWrSybYp3RrUnydosgsNkGQjrk7JvxuxjMslN4cGfk=";
1212 # Unicode file names lead to different checksums on HFS+ vs. other
1313 # filesystems because of unicode normalisation. The testdir
1414 # directories have such files and will be removed.