summary refs log tree commit diff
path: root/doc/stdenv
Commit message (Collapse)AuthorAge
* makeBinaryWrapper: move into its own folderNaïm Favier2022-05-10
| | | | | The derivation is complex enough to warrant moving out of all-packages.nix
* stdenv.mkDerivation: public -> finalPackageRobert Hensing2022-05-02
|
* stdenv.md: Clarify overrideAttrs sentenceRobert Hensing2022-05-02
| | | | I weirded my English.
* Use finalAttrs instead of self for mkDerivation "overlay"Robert Hensing2022-05-02
|
* stdenv.mkDerivation: Make self more overlay-like; use self.publicRobert Hensing2022-05-02
| | | | | `self` is now arguments, like `super`. The final package is in `self.public`.
* doc/stdenv/meta: tests -> passthru.testsRobert Hensing2022-05-02
| | | | | | Make the text understandable without knowing that these are identical. Co-authored-by: Daniël de Kok <me@github.danieldk.eu>
* stdenv.mkDerivation: Allow overriding of recursive definitionsRobert Hensing2022-05-02
| | | | See updated manual for further explanation.
* autoPatchelfHook: more precise dependency ignoranceSamuel Ainsworth2022-04-11
|
* Update doc/stdenv/cross-compilation.chapter.mdAdam Joseph2022-04-03
| | | Co-authored-by: Ben Siraphob <bensiraphob@gmail.com>
* cross-compilation.chapter.md: give examples of all depFooBar casesAdam Joseph2022-04-02
| | | | | | | | | | | | | | | 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.
* Merge pull request #159344 from symphorien/doc-remove-references-toJan Tojnar2022-02-19
|\ | | | | doc: document remove-references-to
| * doc: document remove-references-toGuillaume Girol2022-02-19
| |
* | doc: discourage setting `phases`, document/encourage runHook instead.Guillaume Girol2022-02-12
|/ | | | | Source: https://matrix.to/#/!kjdutkOsheZdjqYmqp:nixos.org/$mff3KCoPY5sfgsUhKn0e4va7hnz7KMXARaO2_UaLNM4?via=nixos.org&via=matrix.org&via=nixos.dev
* stdenv.md: Call out that genericBuild has correct orderRobert Hensing2022-02-02
| | | Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
* stdenv.md: Document genericBuildRobert Hensing2022-02-01
|
* stdenv.md: Remove off topic phase propagandaRobert Hensing2022-02-01
| | | | | | 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.
* meta.updateWalker: remove, because it is not usedFelix Buehler2022-01-26
|
* Merge pull request #124556 from bergkvist/bergkvist/make-c-wrapperRobert Hensing2021-12-10
|\ | | | | Generate tiny compiled binary for wrapping executables
| * Small rephrase of wrapProgram documentationDoron Behar2021-12-09
| | | | | | Co-authored-by: Julian Stecklina <js@alien8.de>
| * Rephrase documentation for both makeWrapper implementationsDoron Behar2021-12-09
| |
| * wrapProgramBinary -> binaryWrapProgramDoron Behar2021-12-08
| |
| * Remove TODO in documentationDoron Behar2021-12-02
| |
| * Rephrase makeWrapper setup-hookDoron Behar2021-10-20
| |
| * Improve explenations for wrap*ProgramDoron Behar2021-10-19
| |
| * makeBinaryWrapper: DocumentDoron Behar2021-10-19
| |
* | Merge pull request #136345 from Pamplemousse/docJan Tojnar2021-10-26
|\ \ | | | | | | doc: clarification of dependencies related attributes
| * | doc: clarification of dependencies related attributesPamplemousse2021-08-31
| | | | | | | | | | | | Signed-off-by: Pamplemousse <xav.maso@gmail.com>
* | | doc: reference sourceRoot in description of srcslaikq2021-10-05
| | |
* | | patchelf: fix homepageppom2021-09-21
|/ /
* | doc: stdenv: document meta.mainProgramfigsoda2021-08-19
| |
* | nixpkgs-docs: when to prefer passthru.tests over installCheckPhaseArnout Engelen2021-08-14
| | | | | | | | | | | | | | | | | | | | 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
* | manual: Hardening: Remove now-nonexistent ArchWiki link.Niklas Hambüchen2021-07-05
| | | | | | | | | | | | 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.
* | manual: hardening: Fix disabled flags prose being in previous sectionNiklas Hambüchen2021-07-05
| | | | | | | | | | | | | | | | | | | | | | 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.
* | stdenv: introduce dontAddStaticConfigureFlagsAlyssa Ross2021-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | doc: Use markdown syntax for xrefsJan Tojnar2021-06-07
| | | | | | | | | | | | Syntax is taken from MyST: https://myst-parser.readthedocs.io/en/latest/using/syntax.html#targets-and-cross-referencing
* | doc: prepare for commonmarkJan Tojnar2021-06-07
|/ | | | | | | | | | | | | | 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.
* Fix "platfrom" typosEmery Hemingway2021-04-10
|
* doc/stdenv/cross: fix typosternenseemann2021-04-02
|
* doc: Port stdenv to MarkdownJan Tojnar2021-03-14
| | | | | | | | | | | | 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: Port stdenv/multiple-output to MarkdownJan Tojnar2021-03-14
|
* doc: Port stdenv/meta to MarkdownJan Tojnar2021-03-14
|
* doc: FormatRobert Hensing2021-03-04
|
* Merge pull request #113062 from SuperSandro2000/outputs-updateSandro2021-03-03
|\ | | | | doc: update multiple output section with more example paths
| * doc: update multiple output section with more example pathsSandro Jäckel2021-02-14
| |
* | stdenv/cross-compilation: add section on avoiding cross-compiling GCCBen Siraphob2021-02-22
| |
* | docs/stdenv/cross-compilation: add binutils command section to cookbookBen Siraphob2021-02-21
| |
* | doc/stdenv/platform-notes: convert to markdownBen Siraphob2021-02-21
|/
* doc: Add anchors to meta attributesJan Tojnar2021-02-07
|
* doc: stdenv.lib -> libProfpatsch2021-01-11
| | | | | | | 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.
* doc/stdenv/cross-compilation.chapter.md typoRobert Hensing2020-12-15
| | | Co-authored-by: John Ericson <git@JohnEricson.me>