| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I originally wrote this for packaging proprietary games in Vuizvui[1]
but I thought it would be generally useful as we have a fair amount of
proprietary software lurking around in nixpkgs, which are a bit tedious
to maintain, especially when the library dependencies change after an
update.
So this setup hook searches for all ELF executables and libraries in the
resulting output paths after install phase and uses patchelf to set the
RPATH and interpreter according to what dependencies are available
inside the builder.
For example consider something like this:
stdenv.mkDerivation {
...
nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [ mesa zlib ];
...
}
Whenever for example an executable requires mesa or zlib, the RPATH will
automatically be set to the lib dir of the corresponding dependency.
If the library dependency is required at runtime, an attribute called
runtimeDependencies can be used to list dependencies that are added to
all executables that are discovered unconditionally.
Beside this, it also makes initial packaging of proprietary software
easier, because one no longer has to manually figure out the
dependencies in the first place.
[1]: https://github.com/openlab-aux/vuizvui
Signed-off-by: aszlig <aszlig@nix.build>
Closes: #34506
|
|\
| |
| | |
haskell: Recommend use of hoogle --local
|
| |
| |
| |
| | |
This works around the browser security restriction of
disallowing links from http:// to file://.
|
|\ \
| | |
| | | |
emacs-packages: Cleanup and document for overrides
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This removes some stale code that was a no-op for some time and adds
some docs/examples to help people with explicitly and consistently
choosing versions of some emacs packages (to help with problems
similar to #27083).
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
It should be in a <programlisting>, not <command>, tag.
|
| | |
| | |
| | |
| | |
| | | |
The `name` attribute is filled in when `pname` and `version` are specified.
See https://github.com/NixOS/nixpkgs/pull/31173
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
compiling
I hope this will be a temporary measure. If there is consensus around
issue #33599, then we can follow an explicit `dontCheck`, but default to
not checking during cross builds when none is given.
|
|\ \ \
| |_|/
|/| | |
Make cross compilation elegant
|
| | |
| | |
| | |
| | | |
An excellent suggestion from @bgamari
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This accounts for all the new dependencies and propagation logic changes
I'm about to add.
Fixes #1915---with this change I think the distinction is finally clear
enough.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
docs: clarify package and module option naming
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This attempts to briefly clarify the current naming conventions of
attribute names in `all-packages.nix` and module option names.
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ /
|/| | |
|
|\ \ \ |
|
| |\ \ \ |
|
| |\ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Shrunk the CC Wrapper documentation so as not to be repetative.
|
| |_|/ / /
|/| | | | |
|
| |/ / /
|/| | |
| | | |
| | | | |
Unindent prose that was incorrectly being displayed as code.
|
| | | | |
|
|\ \ \ \ |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit aa2326682c7210027747a2b5ee7f33311dc8fe10.
Forgot parentheses...
|
| | | | | |
|
|/ / / / |
|
|\ \ \ \
| |/ / /
|/| | | |
weechat: default to enabling all plugins
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Plain weechat is still accessible as `weechat.unwrapped`
or `weechat.override {configure = null;}`.
Also update documentation to reflect this change.
|
|\ \ \ \ |
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | | |
stdenv: Move devhelp books to outputDevdoc
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Using `rust` instead of `rustc cargo` doesn't work in either `systemPackages` or `nix-shell -p`
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Close #31810.
|
| | | |
| | | |
| | | |
| | | | |
This addresses #31684.
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
documentation: cross-compilation - partial rewrite
|