Skip to content

Commit

Permalink
hepmc3: fix HepMC3-config on darwin (NixOS#360478)
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl authored and RedEtherbloom committed Dec 4, 2024
1 parent 0dd4b0d commit 1505d44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/libraries/physics/hepmc3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ stdenv.mkDerivation rec {

postInstall = ''
substituteInPlace "$out"/bin/HepMC3-config \
--replace 'greadlink' '${coreutils}/bin/readlink' \
--replace 'readlink' '${coreutils}/bin/readlink'
--replace-fail '$(greadlink' '$(${coreutils}/bin/readlink' \
--replace-fail '$(readlink' '$(${coreutils}/bin/readlink'
'';

pythonImportsCheck = [ "pyHepMC3" ];
Expand Down

0 comments on commit 1505d44

Please sign in to comment.