New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: add darwin installCheckTarget example #44248
Conversation
doc/platform-notes.xml
Outdated
The fact that libraries are liked using the absolute paths of their final | ||
installation target can, even tho the <literal>install_name</literal> like | ||
mentioned above is set correctly, sometimes cause problems when running | ||
tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentence has some spelling issues:
Let me rephrase:
Even so libraries are linked using absolute paths and resolved via their <literal>install_name</literal> on darwin, running tests can cause problems.
doc/platform-notes.xml
Outdated
This can usually be solved by running the tests after the | ||
<varname>installPhase</varname> or alternatively by using | ||
<varname>DYLD_LIBRARY_PATH</varname>. More information about this variable | ||
can be found in <command>man dyld</command>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional: It seems to be not so common in nixpkgs doc, but docbook also supports linking to manpages: https://github.com/systemd/systemd/blob/master/man/systemd.device.xml#L16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah nice, I was wondering about that but didn't find an example.
536daa5
to
423ce9f
Compare
423ce9f
to
61a1b20
Compare
@GrahamcOfBorg eval |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)