Merge pull request #25844 from eqyiel/master

sift: fix build for darwin

Changed files
+5 -1
pkgs
tools
text
+5 -1
pkgs/tools/text/sift/default.nix
···
goDeps = ./deps.nix;
meta = with lib; {
description = "sift is a fast and powerful alternative to grep";
homepage = "https://sift-tool.org";
maintainers = [ maintainers.carlsverre ];
license = licenses.gpl3;
-
platforms = platforms.linux;
};
}
···
goDeps = ./deps.nix;
+
postInstall = lib.optionalString stdenv.isDarwin ''
+
install_name_tool -delete_rpath $out/lib -add_rpath $bin $bin/bin/sift
+
'';
+
meta = with lib; {
description = "sift is a fast and powerful alternative to grep";
homepage = "https://sift-tool.org";
maintainers = [ maintainers.carlsverre ];
license = licenses.gpl3;
+
platforms = platforms.all;
};
}