sift: fix build for darwin
This commit is contained in:
parent
fb19aac85d
commit
dfad5d3fed
@ -16,11 +16,15 @@ buildGoPackage rec {
|
|||||||
|
|
||||||
goDeps = ./deps.nix;
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
|
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||||
|
install_name_tool -delete_rpath $out/lib -add_rpath $bin $bin/bin/sift
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "sift is a fast and powerful alternative to grep";
|
description = "sift is a fast and powerful alternative to grep";
|
||||||
homepage = "https://sift-tool.org";
|
homepage = "https://sift-tool.org";
|
||||||
maintainers = [ maintainers.carlsverre ];
|
maintainers = [ maintainers.carlsverre ];
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user