mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03: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 New Issue
Block a user