summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2014-11-04 00:05:58 -0600
committerJohn Wiegley <johnw@newartisans.com>2014-11-04 00:06:26 -0600
commit28d0908bfbe4b1d91b9369bdeb3a6ef67f1ec853 (patch)
tree38fb6431a006c24dc63c0b226ff80b8a217218b5 /pkgs/applications/office
parent8e516de3e76ce489271161b7fd8291edfb0adf40 (diff)
downloadnixlib-28d0908bfbe4b1d91b9369bdeb3a6ef67f1ec853.tar
nixlib-28d0908bfbe4b1d91b9369bdeb3a6ef67f1ec853.tar.gz
nixlib-28d0908bfbe4b1d91b9369bdeb3a6ef67f1ec853.tar.bz2
nixlib-28d0908bfbe4b1d91b9369bdeb3a6ef67f1ec853.tar.lz
nixlib-28d0908bfbe4b1d91b9369bdeb3a6ef67f1ec853.tar.xz
nixlib-28d0908bfbe4b1d91b9369bdeb3a6ef67f1ec853.tar.zst
nixlib-28d0908bfbe4b1d91b9369bdeb3a6ef67f1ec853.zip
ledger3: On darwin, change boost lib paths to absolute references
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/ledger/3.0.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/office/ledger/3.0.nix b/pkgs/applications/office/ledger/3.0.nix
index 6118d377a79f..9d25eb05632e 100644
--- a/pkgs/applications/office/ledger/3.0.nix
+++ b/pkgs/applications/office/ledger/3.0.nix
@@ -23,6 +23,11 @@ stdenv.mkDerivation {
   postInstall = ''
     mkdir -p $out/share/emacs/site-lisp/
     cp -v "$src/lisp/"*.el $out/share/emacs/site-lisp/
+  '' + 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
+    done
   '';
 
   meta = {