mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
ledger3: On darwin, change boost lib paths to absolute references
This commit is contained in:
parent
8e516de3e7
commit
28d0908bfb
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue