Skip to content

Commit

Permalink
dd4hep: remove outdated substitutions
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl committed Nov 23, 2023
1 parent fd87472 commit 1c84ef2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkgs/dd4hep/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,11 @@ stdenv.mkDerivation rec {
substituteInPlace DDCore/CMakeLists.txt \
--replace "ROOT::ROOTHistDraw" ""
substituteInPlace DDG4/edm4hep/Geant4Output2EDM4hep.cpp \
--replace "setValues" "setValue" \
--replace "hits = m_calorimeterHits[colName] = edm4hep::SimTrackerHitCollection()" "hits = m_calorimeterHits[colName]"
'' + lib.optionalString stdenv.isDarwin ''
substituteInPlace cmake/DD4hepBuild.cmake \
--replace 'set(CMAKE_INSTALL_NAME_DIR "@rpath")' "" \
--replace 'set(CMAKE_INSTALL_RPATH "@loader_path/../lib")' "" \
--replace 'SET(Python_FIND_FRAMEWORK LAST)' 'set(Python_FIND_FRAMEWORK NEVER)'
substituteInPlace cmake/DD4hep.cmake \
--replace \
'set(''${ENV_VAR}_VALUE $<TARGET_FILE_DIR:''${library}>:$<TARGET_FILE_DIR:DD4hep::DD4hepGaudiPluginMgr>)' \
'set(''${ENV_VAR}_VALUE $<TARGET_FILE_DIR:''${library}>:$<TARGET_FILE_DIR:DD4hep::DD4hepGaudiPluginMgr>:''$ENV{''${ENV_VAR}})'
'';

nativeBuildInputs = [
Expand Down

0 comments on commit 1c84ef2

Please sign in to comment.