diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2018-09-29 23:26:07 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2018-09-29 23:26:07 +0200 |
commit | 9d59281c61a48adffa8d3de8c5aac89efb753b55 (patch) | |
tree | 12cc5b4947210039324cb224fde349c2ce82327a /pkgs/tools/networking/mosh | |
parent | 0a784c094f2c69b22a3baece6a1d32c86f99b3cc (diff) |
mosh: fix clang build
The darwin build started to fail because of protobuf c++11 related errors https://hydra.nixos.org/build/82082958.
Diffstat (limited to 'pkgs/tools/networking/mosh')
-rw-r--r-- | pkgs/tools/networking/mosh/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/networking/mosh/default.nix b/pkgs/tools/networking/mosh/default.nix index 1a2086810724b..c83ab66b27a06 100644 --- a/pkgs/tools/networking/mosh/default.nix +++ b/pkgs/tools/networking/mosh/default.nix @@ -25,6 +25,8 @@ stdenv.mkDerivation rec { wrapProgram $out/bin/mosh --prefix PERL5LIB : $PERL5LIB ''; + CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11"; + meta = { homepage = https://mosh.org/; description = "Mobile shell (ssh replacement)"; |