Skip to content

Commit

Permalink
sift: fix build for darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
eqyiel committed May 17, 2017
1 parent fb19aac commit dfad5d3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/tools/text/sift/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}

0 comments on commit dfad5d3

Please sign in to comment.