From 2be8e8a48e0d504069558615cd89ef805cad91e6 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Tue, 17 Oct 2023 15:09:51 -0400 Subject: [PATCH] dd4hep: enable hepmc3 compression support --- pkgs/dd4hep/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/dd4hep/default.nix b/pkgs/dd4hep/default.nix index 191f8d5..9d7bbdb 100644 --- a/pkgs/dd4hep/default.nix +++ b/pkgs/dd4hep/default.nix @@ -4,10 +4,13 @@ , fetchpatch , assimp , boost +, bzip2 , cmake , edm4hep , geant4 , hepmc3 +, lzma +, zlib , gnugrep , python3 , root @@ -64,9 +67,12 @@ stdenv.mkDerivation rec { ]; buildInputs = [ assimp + bzip2 edm4hep geant4 hepmc3 + lzma + zlib ]; propagatedBuildInputs = [ boost @@ -88,6 +94,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DCMAKE_CXX_STANDARD=17" # match geant4 + "-DDD4HEP_HEPMC3_COMPRESSION_SUPPORT=ON" "-DDD4HEP_USE_EDM4HEP=ON" "-DDD4HEP_USE_HEPMC3=ON" "-DDD4HEP_USE_GEANT4=ON"