From 44c1590f1f4a94f5b3fa2097f01652836740fa2b Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Fri, 13 May 2022 12:00:08 +0200 Subject: [PATCH] bayescan: fix the build Moved back to C++14 to avoid the new errors and warnings introduced with C++17. --- pkgs/applications/science/biology/bayescan/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/science/biology/bayescan/default.nix b/pkgs/applications/science/biology/bayescan/default.nix index 656e59a55ba5..cd5bb3210364 100644 --- a/pkgs/applications/science/biology/bayescan/default.nix +++ b/pkgs/applications/science/biology/bayescan/default.nix @@ -29,6 +29,8 @@ stdenv.mkDerivation rec { cp -r ../*pdf ../input_examples ../"R functions" $out/share/doc/bayescan ''; + NIX_CFLAGS_COMPILE = [ "-std=c++14" ]; + meta = with lib; { description = "Detecting natural selection from population-based genetic data"; homepage = "http://cmpg.unibe.ch/software/BayeScan";