| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
The following changes are made:
- Document how `wrapType2` and `wrapType1` are the same thing.
- Expand on how `wrapType2` works and additional arguments it uses.
- Document `extract` and show how it's used in combination with
`wrapType2`.
- Provide full working examples using the new admonition syntax.
|
|\
| |
| | |
Golang docs: remove "-s" and "-w" from the ldflags example
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The go linker `-s` and `-w` flags respectively are for:
- Omit the symbol table and debug information.
- Omit the DWARF symbol table.
Those actions should be delegated to the fixup build phase instead.
See: https://discourse.nixos.org/t/why-do-so-many-go-packages-use-s-w-in-their-ldflags-it-breaks-dontfixup-dontstrip/36843
|
|\ \
| | |
| | | |
doc: diagram explaining what it means for a dependency to be propagated
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
doc: clarify stdenv phase flag attributes
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
maintainers: Add new script to check URLs in `doc/manpage-urls.json`
|
| | | | |
|
| | | | |
|
| | |/
| |/| |
|
| | | |
|
|\ \ \
| | | |
| | | | |
incremental builds: add derivation override functions
|
| | | |
| | | |
| | | | |
Co-authored-by: Philipp Schuster <phip1611@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
example
|
| | | |
| | | |
| | | | |
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
|
| | | |
| | | |
| | | | |
Co-authored-by: Markus Partheymueller <markus.partheymueller@cyberus-technology.de>
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
this implements the documentation team's style guide new material
|
|\ \ \ \
| | | | |
| | | | | |
Build arbitrary Julia package environments in Nixpkgs
|
| | |/ /
| |/| | |
|
|/ / /
| | |
| | | |
Extended genericBuild description
|
|\ \ \
| | | |
| | | | |
nixos/doc: Add chapter “necessary system state”
|
| | | |
| | | |
| | | |
| | | | |
and add the generating script to `maintainers/scripts/doc`
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Without this, it's impossible to override the lockFile as the default
overrideAttrs is applied after the composition in buildNimPackage has
read the lock file and generated the nim flags from it.
|
| |\ \ \ \
| | |/ / /
| |/| | | |
doc: Rename to Nixpkgs reference manual and restate purpose
|
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For the time being, we're moving towards https://nix.dev/ containing
all tutorials and guides. The Nixpkgs manual is reinforced to be a
_reference_ manual. While it's not just reference for now, that's what
the docs team is working towards.
This commits rewrites the Nixpkgs manual introduction to reflect that
and point to some more useful links. The contribution docs are updated
similarly so it's not missed.
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
|
|\| | | |
|
| | |/
| |/| |
|
|\| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
GitHub supported special markdown syntax for emphasising blocks for some
time. This was however a beta feature, and still is, so it's subject to
changes.
Recently such a change happened: The syntax is different now.
See https://github.com/orgs/community/discussions/16925 for more
information
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We keep running into situations where we can't get the right
combination of rustc flags through build systems into rustc.
RUSTFLAGS is the only variable supported across build systems, but if
RUSTFLAGS is set, Cargo will ignore all other ways of specifying rustc
flags, including the target-specific ones, which we need to make
dynamic musl builds work. (This is why pkgsCross.musl64.crosvm is
currently broken — it works if you unset separateDebugInfo, which
causes RUSTFLAGS not to be set.)
So, we need to do the same thing we do for C and C++ compilers, and
add a compiler wrapper so we can inject the flags we need, regardless
of the build system.
Currently the wrapper only supports a single mechanism for injecting
flags — the NIX_RUSTFLAGS environment variable. As time goes on,
we'll probably want to add additional features, like target-specific
environment variables.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the working directory for the suggested flake, as originally
suggested by @MaxDaten in:
https://github.com/NixOS/nixpkgs/issues/229542#issuecomment-1674886874
… and then amended by @Enzime in:
https://github.com/NixOS/nixpkgs/pull/248554#issuecomment-1676825733
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Nixpkgs documentation on the linux kernel builders focused on
using and extending kernels that were already packaged, but never
mentioned that it's possible to also build a kernel almost "from
scratch".
The NixOS documentation went a bit deeper on manual linux kernel
configs, but that information wasn't particularly NixOS-specific.
This commit consolidates the information related to building the
kernel on Nixpkgs's documentation, while keeping any additional
NixOS-specific information on NixOS's documentation.
An additional README.md was created for contributor-facing
documentation.
|
|\
| |
| | |
doc: Add lib.meta to the library functions ToC
|
| |
| |
| |
| |
| |
| | |
This seems like a pretty easy-to-fix oversight, and it documents the
getExe function, which I never knew about until one day I saw a PR
using it. Let's include it in the manual.
|
| |
| |
| |
| |
| | |
In x-d-p 1.17, when no configs are given, you apps will likely not
able to find a backend. Let users aware of the changes.
|
| | |
|
|\ \
| | |
| | | |
doc/stdenv: update manual phases execution instructions
|
| | |
| | |
| | |
| | |
| | |
| | | |
Update instructions for manual build phases execution via `nix-shell` to
cover all phases. There is no easy way of getting those commands, so it
makes a sense to have them all properly documented.
|
|/ /
| |
| |
| |
| |
| | |
Previously the introductory section and the function listings were in
different places. But now nixdoc supports having them together
with https://github.com/nix-community/nixdoc/pull/70!
|
|\ \
| | |
| | | |
buildDotnetModule small improvements
|
| | |
| | |
| | |
| | | |
first time
|
|\ \ \ |
|
| | | | |
|