sift: fix build for darwin

This commit is contained in:
Ruben Maher 2017-05-17 10:26:35 +09:30
parent fb19aac85d
commit dfad5d3fed

View file

@ -16,11 +16,15 @@ buildGoPackage rec {
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.linux;
platforms = platforms.all;
};
}