Skip to content

Commit

Permalink
eicrecon: add fastjet-contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl committed May 15, 2024
1 parent 36354b3 commit a9ee60b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
6 changes: 6 additions & 0 deletions overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ final: prev: with final; {

eic-smear = callPackage pkgs/eic-smear {};

fastjet = prev.fastjet.overrideAttrs (prev: {
configureFlags = prev.configureFlags ++ [
"--enable-auto-ptr=no"
];
});

# Required by a recent EICrecon
fmt = if final.lib.versionOlder prev.fmt.version "9" then fmt_9 else prev.fmt;
# Also update an input hardcoded in nixpkgs' spdlog (it switched to fmt
Expand Down
14 changes: 3 additions & 11 deletions pkgs/eicrecon/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
, edm4hep
, eigen
, fastjet
, fastjet-contrib
, irt
, jana2
, microsoft_gsl
Expand All @@ -23,16 +24,6 @@
, makeWrapper
}:

let

_fastjet = fastjet.overrideAttrs (prev: {
configureFlags = prev.configureFlags ++ [
"--enable-auto-ptr=no"
];
});

in

stdenv.mkDerivation rec {
pname = "EICrecon";
version = "1.13.2.${eicrecon-src.shortRev or "dirty"}";
Expand Down Expand Up @@ -62,7 +53,8 @@ stdenv.mkDerivation rec {
dd4hep
edm4eic
edm4hep
_fastjet
fastjet
fastjet-contrib
eigen
irt
jana2
Expand Down

0 comments on commit a9ee60b

Please sign in to comment.