| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
The derivation is complex enough to warrant moving out of
all-packages.nix
|
| |
|
|
|
|
| |
I weirded my English.
|
| |
|
|
|
|
|
| |
`self` is now arguments, like `super`. The final package is in
`self.public`.
|
|
|
|
|
|
| |
Make the text understandable without knowing that these are identical.
Co-authored-by: Daniël de Kok <me@github.danieldk.eu>
|
|
|
|
| |
See updated manual for further explanation.
|
| |
|
|
|
| |
Co-authored-by: Ben Siraphob <bensiraphob@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit describes the "->" notation for dependency types in
greater detail, and uses g++ to provide examples of all six cases
(although the host->target and target->target examples are a bit
artificial).
It also adds three more rows to the table for the "->*" dependency
types for non-compiler-like packages; these dependency types were
already present in the documentation but the "*" was not really
explained.
Lastly, this commit adds a hyperlink to the table from the place where
it is mentioned in the "specifying dependencies" chapter.
|
|\
| |
| | |
doc: document remove-references-to
|
| | |
|
|/
|
|
|
| |
Source:
https://matrix.to/#/!kjdutkOsheZdjqYmqp:nixos.org/$mff3KCoPY5sfgsUhKn0e4va7hnz7KMXARaO2_UaLNM4?via=nixos.org&via=matrix.org&via=nixos.dev
|
|
|
| |
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
|
| |
|
|
|
|
|
|
| |
Phases are cool, I get it, but the reader will enjoy it when they
see it. And they'll see it sooner if they don't have to read about
it.
|
| |
|
|\
| |
| | |
Generate tiny compiled binary for wrapping executables
|
| |
| |
| | |
Co-authored-by: Julian Stecklina <js@alien8.de>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
doc: clarification of dependencies related attributes
|
| | |
| | |
| | |
| | | |
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
|
| | | |
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
And mention you can have either lightweight 'package' or
more heavyweight 'NixOS' (module) tests.
This was suggested at
https://github.com/ryantm/nixpkgs-update/issues/260#issuecomment-821287971
and discussed further at
https://github.com/NixOS/nixpkgs/pull/119731
|
| |
| |
| |
| |
| |
| | |
The page has been replaced by the much more general page
https://wiki.archlinux.org/title/Security#Packages
which is barely talking about hardening flags any more.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This confused the hell out of me, as I didn't spot the
> The following flags are disabled by default ...
when reading about `pie`, because that sentence was hidden in the
previous hardening flag's section.
Also explain that `pie` hardening is on by default on musl.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With removeUnknownConfigureFlags, it's impossible to express a package
that needs --enable-static, but will not accept --disable-shared,
without overriding the result of removeUnknownConfigureFlags _again_
in pkgs/top-level/static.nix.
It would be much better (and more in line with the rest of Nixpkgs) if
we encoded changes needed for static builds in package definitions
themselves, rather than in an ever-expanding list in static.nix. This
is especially true when doing it in static.nix is going to require
multiple overrides to express what could be expressed with stdenv
options.
So as a step in that direction, and to fix the problem described
above, here I replace removeUnknownConfigureFlags with a new stdenv
option, dontAddStaticConfigureFlags. With this mechanism, a package
that needs one but not both of the flags just needs to set
dontAddStaticConfigureFlags and then set up configureFlags manually
based on stdenv.hostPlatform.isStatic.
|
| |
| |
| |
| |
| |
| | |
Syntax is taken from MyST:
https://myst-parser.readthedocs.io/en/latest/using/syntax.html#targets-and-cross-referencing
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
We are still using Pandoc’s Markdown parser, which differs from CommonMark spec slightly.
Notably:
- Line breaks in lists behave differently.
- Admonitions do not support the simpler syntax https://github.com/jgm/commonmark-hs/issues/75
- The auto_identifiers uses a different algorithm – I made the previous ones explicit.
- Languages (classes) of code blocks cannot contain whitespace so we have to use “pycon” alias instead of Python “console” as GitHub’s linguist
While at it, I also fixed the following issues:
- ShellSesssion was used
- Removed some pointless docbook tags.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added the following ids to avoid possible id conflicts from ids auto-generated from titles:
- setup-hook-perl
- setup-hook-python
- setup-hook-pkg-config
- setup-hook-automake
- setup-hook-autoconf
- setup-hook-libxml2
- setup-hook-gdk-pixbuf
|
| |
|
| |
|
| |
|
|\
| |
| | |
doc: update multiple output section with more example paths
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
Part of: https://github.com/NixOS/nixpkgs/issues/108938
Changing the documentation to not refer to stdenv.lib is the first
step to make people use it directly.
|
|
|
| |
Co-authored-by: John Ericson <git@JohnEricson.me>
|