Skip to content

Commit

Permalink
keybase: add darwin support
Browse files Browse the repository at this point in the history
Fixes the cyclic dependency issue as described in #18131.

(cherry picked from commit eaa0e19)
  • Loading branch information
zimbatm committed Sep 24, 2017
1 parent ad0f639 commit 58b7abc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/tools/security/keybase/default.nix
Expand Up @@ -16,12 +16,16 @@ buildGoPackage rec {
sha256 = "0vivc71xfi4y3ydd29b17qxzi10r3a1ppmjjws6vrs0gz58bz1j8";
};

postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
install_name_tool -delete_rpath $out/lib $bin/bin/keybase
'';

buildFlags = [ "-tags production" ];

meta = with stdenv.lib; {
homepage = https://www.keybase.io/;
description = "The Keybase official command-line utility and service.";
platforms = platforms.linux;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ carlsverre np rvolosatovs ];
};
}

0 comments on commit 58b7abc

Please sign in to comment.