@@ -16,12 +16,16 @@ buildGoPackage rec {
1616 sha256 = "0vivc71xfi4y3ydd29b17qxzi10r3a1ppmjjws6vrs0gz58bz1j8";
1717 };
1818
19+ postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
20+ install_name_tool -delete_rpath $out/lib $bin/bin/keybase
21+ '';
22+
1923 buildFlags = [ "-tags production" ];
2024
2125 meta = with stdenv.lib; {
2226 homepage = https://www.keybase.io/;
2327 description = "The Keybase official command-line utility and service.";
24− platforms = platforms.linux;
28+ platforms = platforms.linux ++ platforms.darwin;
2529 maintainers = with maintainers; [ carlsverre np rvolosatovs ];
2630 };
2731}