hepmc3: fix HepMC3-config on darwin (#360478)

This commit is contained in:
Dmitry Kalinkin 2024-12-03 14:57:32 -05:00 committed by GitHub
parent b256a82610
commit fbb7dcdbe0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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" ];