From f7173a9187ceb907a63b5e9a458c746ec055a3b3 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Mon, 9 Jan 2017 02:24:27 -0500 Subject: [PATCH] fastnlo: fix yoda interface --- pkgs/development/libraries/physics/fastnlo/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/physics/fastnlo/default.nix b/pkgs/development/libraries/physics/fastnlo/default.nix index 703681337063..307bf1b27db3 100644 --- a/pkgs/development/libraries/physics/fastnlo/default.nix +++ b/pkgs/development/libraries/physics/fastnlo/default.nix @@ -11,6 +11,12 @@ stdenv.mkDerivation rec { buildInputs = [ boost lhapdf root yoda ]; + CXXFLAGS="-std=c++11"; # for yoda + + configureFlags = [ + "--with-yoda=${yoda}" + ]; + enableParallelBuilding = true; meta = {