Merge pull request #25844 from eqyiel/master

sift: fix build for darwin
This commit is contained in:
Daiderd Jordan 2017-05-17 20:58:56 +02:00 committed by GitHub
commit b8e80d9389

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;
};
}