diff --git a/pkgs/applications/office/ledger/3.0.nix b/pkgs/applications/office/ledger/3.0.nix index 9d25eb05632e..64fbf991713b 100644 --- a/pkgs/applications/office/ledger/3.0.nix +++ b/pkgs/applications/office/ledger/3.0.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation { '' + stdenv.lib.optionalString stdenv.isDarwin '' for i in date_time filesystem system iostreams regex unit_test_framework; do boostlib=libboost_''$i.dylib - install_name_tool -change ''$boostlib $out/lib/''$boostlib $out/bin/ledger + install_name_tool -change ''$boostlib ${boost}/lib/''$boostlib $out/bin/ledger done '';