keybase: add darwin support
Fixes the cyclic dependency issue as described in #18131.
This commit is contained in:
parent
96d3ff6759
commit
eaa0e19a34
@ -16,12 +16,16 @@ buildGoPackage rec {
|
|||||||
sha256 = "0vivc71xfi4y3ydd29b17qxzi10r3a1ppmjjws6vrs0gz58bz1j8";
|
sha256 = "0vivc71xfi4y3ydd29b17qxzi10r3a1ppmjjws6vrs0gz58bz1j8";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
install_name_tool -delete_rpath $out/lib $bin/bin/keybase
|
||||||
|
'';
|
||||||
|
|
||||||
buildFlags = [ "-tags production" ];
|
buildFlags = [ "-tags production" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://www.keybase.io/;
|
homepage = https://www.keybase.io/;
|
||||||
description = "The Keybase official command-line utility and service.";
|
description = "The Keybase official command-line utility and service.";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = with maintainers; [ carlsverre np rvolosatovs ];
|
maintainers = with maintainers; [ carlsverre np rvolosatovs ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user