summary refs log tree commit diff
diff options
context:
space:
mode:
author7c6f434c <7c6f434c@mail.ru>2022-04-23 07:12:28 +0000
committerGitHub <noreply@github.com>2022-04-23 07:12:28 +0000
commit4812a3e06052db8aa86370a38b4ce22a92c7630b (patch)
treeb104c6e9a9b647bd0fe5993d4a55f268a7ae6be8
parent487624c151950796f8fe29e5408507aa7f1ea589 (diff)
parent2795e9345e473a7b5ed2851ca1249175aa4603db (diff)
downloadnixpkgs-4812a3e06052db8aa86370a38b4ce22a92c7630b.tar
nixpkgs-4812a3e06052db8aa86370a38b4ce22a92c7630b.tar.gz
nixpkgs-4812a3e06052db8aa86370a38b4ce22a92c7630b.tar.bz2
nixpkgs-4812a3e06052db8aa86370a38b4ce22a92c7630b.tar.lz
nixpkgs-4812a3e06052db8aa86370a38b4ce22a92c7630b.tar.xz
nixpkgs-4812a3e06052db8aa86370a38b4ce22a92c7630b.tar.zst
nixpkgs-4812a3e06052db8aa86370a38b4ce22a92c7630b.zip
Merge pull request #169903 from 7c6f434c/monotone-std-data-fix
monotone: fix build by forcing C++11
-rw-r--r--pkgs/applications/version-management/monotone/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/monotone/default.nix b/pkgs/applications/version-management/monotone/default.nix
index 6ea66b296d7..34c3e611d40 100644
--- a/pkgs/applications/version-management/monotone/default.nix
+++ b/pkgs/applications/version-management/monotone/default.nix
@@ -39,6 +39,8 @@ stdenv.mkDerivation rec {
     sed -e 's@/usr/bin/less@${less}/bin/less@' -i src/unix/terminal.cc
   '';
 
+  CXXFLAGS=" --std=c++11 ";
+
   nativeBuildInputs = [ pkg-config autoreconfHook texinfo ];
   buildInputs = [ boost zlib botan2 libidn lua pcre sqlite expect
     openssl gmp bzip2 perl ];