Merge pull request #39503 from veprbl/pr/sacrifice_darwin_fix

sacrifice: fix runtime on darwin
This commit is contained in:
Jörg Thalheim 2018-04-25 22:22:19 +01:00 committed by GitHub
commit 18da50d8d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
"--with-pythia=${pythia}"
];
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
install_name_tool -add_rpath ${pythia}/lib "$out"/bin/run-pythia
'';
enableParallelBuilding = true;
meta = {