mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 08:23:25 +00:00
hepmc3: fix HepMC3-config on darwin (#360478)
This commit is contained in:
parent
b256a82610
commit
fbb7dcdbe0
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user