summary refs log tree commit diff
path: root/doc
Commit message (Collapse)AuthorAge
* Merge pull request #128123 from Mazurel/masterLuke Granger-Brown2021-06-30
|\ | | | | hy: 0.19.0 -> 1.0a1 and improvements
| * hy: 0.19.0 -> 1.0a1 and improvementsMazurel2021-06-27
| |
* | Merge pull request #124875 from hercules-ci/lib-sourcesRobert Hensing2021-06-28
|\ \ | | | | | | lib.sources: docs, tests, refactoring
| * | lib.sources: Generate docsRobert Hensing2021-05-29
| | |
* | | Merge pull request #128163 from nh2/github-actions-backport-link-to-criteriaDomen Kožar2021-06-26
|\ \ \ | | | | | | | | Make backport bot link to criteria, make `CONTRIBUTING.md` more prominent
| * | | CONTRIBUTING.md: Move to repo root, where it is more visible.Niklas Hambüchen2021-06-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We found that many users found it difficult to locate this document. Github supports it in the root, see: https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/setting-guidelines-for-repository-contributors
* | | | Merge branch 'master' into staging-nextMartin Weinelt2021-06-22
|\| | |
| * | | Refresh the Ocaml package examples; document `useDune2` (#127520)Graham Fawcett2021-06-22
| | | | | | | | | | | | | | | | | | | | The current example in the manual no longer builds, mainly because `useDune2 = true` is required, but also because the inputs have changed. The new examples are copied verbatim from nixpkgs.
| * | | doc/functions/generators: fix code blockrnhmjoj2021-06-22
| | | | | | | | | | | | | | | | Small fixup of 606bf6d.
* | | | Merge master into staging-nextgithub-actions[bot]2021-06-18
|\| | |
| * | | nixos/doc: Synchronize the Markdown generator with NixpkgsJan Tojnar2021-06-18
| | |/ | |/| | | | | | | Switch to CommonMark with our extensions.
* | | Merge staging-next into staginggithub-actions[bot]2021-06-16
|\| |
| * | Merge pull request #126591 from jtojnar/glib-networking-docJan Tojnar2021-06-16
| |\ \ | | | | | | | | doc/gnome: document GIO modules
| | * | doc/gnome: document GIO modulesJan Tojnar2021-06-11
| | | | | | | | | | | | | | | | In particular, that glib-networking is required for TLS support.
* | | | Merge staging-next into staginggithub-actions[bot]2021-06-13
|\| | |
| * | | Merge pull request #125671 from SFrijters/doc-improve-make-cleanRyan Mulligan2021-06-12
| |\ \ \ | | | | | | | | | | doc: Clean up generated media directory
| | * | | doc: Clean up generated media directoryStefan Frijters2021-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | pandoc uses ./media to extract media files - add it to the list of directories that need to be removed by `make clean`.
* | | | | 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/functions/generators: convert to CommonMarkRyan Mulligan2021-06-11
| |/ / |/| |
* | | nixos/*: replace alsa* aliasesVladimír Čunát2021-06-10
| | | | | | | | | | | | | | | | | | | | | The attributes got renamed in PR #126440 and in some places this caused evaluation errors, e.g. the tarball job was saying (locally) > attribute 'alsaUtils' missing, at /build/source/nixos/modules/services/audio/alsa.nix:6:4 and I suspect that trunk-combined jobset's failure to evaluate was also caused.
* | | doc/manual: Add backport criteriaJonathan Ringer2021-06-09
| | |
* | | doc/functions/prefer-remote-fetch: convert to CommonMarkRyan Mulligan2021-06-07
| | |
* | | Merge pull request #125957 from ryantm/md-debugRyan Mulligan2021-06-07
|\ \ \ | | | | | | | | doc/functions/debug: convert to CommonMark
| * | | doc/functions/debug: convert to CommonMarkRyan Mulligan2021-06-07
| | | |
* | | | Merge pull request #125838 from jtojnar/strict-commonmarkRyan Mulligan2021-06-07
|\ \ \ \ | |/ / / |/| | | doc: Parse as CommonMark
| * | | 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: Build as CommonMarkJan Tojnar2021-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were using Pandoc’s Markdown parser. This is non-standard and might cause issues when we finally switch to some other tool. Since RFC 0072 agreed on CommonMark, let’s switch to that. We will use some extensions to make the limited syntax bearable but these are official so they should be more portable.
| * | | 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.
| * | | doc: Document markup syntaxJan Tojnar2021-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Not depicted: - Diagrams using Lua filter and dot - fenced code attributes (enabled by the attributes extension)
* | | | Merge pull request #125702 from alarsyo/db-to-md-nix-gitignoreRyan Mulligan2021-06-06
|\ \ \ \ | |/ / / |/| | | doc: nix-gitignore to CommonMark
| * | | doc: nix-gitignore to CommonMarkAntoine Martin2021-06-05
| |/ / | | | | | | | | | Closes #125670
* | | Merge pull request #125494 from siraben/remove-stdenv-libSandro2021-06-05
|\ \ \
| * | | coding-conventions: remove reference to stdenv.libBen Siraphob2021-06-03
| | |/ | |/|
* | | doc: Fix make in nix-shellJan Tojnar2021-06-05
| | | | | | | | | | | | When running make manually, makeFlags will not be passed. Let’s just use an environment variable.
* | | buildGoModule/buildGoPackage: Introduce ldflags argumentSilvan Mosberger2021-06-05
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | Previously it was not possible to define multiple ldflags, since only the last definition applies, and there's some quoting issues with `buildFlagsArray`. With the new `ldflags` argument it's possible to do this, e.g. ldflags = drv.ldflags or [] ++ [ "-X main.Version=1.0" ] can now properly append a flag without clearing all previous ldflags.
* | treewide: setuptools_scm -> setuptools-scmSandro Jäckel2021-06-03
| |
* | doc: fix incorrect use of cargoDepsDaniël de Kok2021-06-01
|/ | | | Thanks to @bjornfor for reporting this error!
* Merge pull request #124739 from SFrijters/doc-fetchpatchMaximilian Bosch2021-05-28
|\ | | | | doc/coding-conventions: Add documentation for fetchpatch optional arguments
| * doc/coding-conventions: Add documentation for fetchpatch optional argumentsStefan Frijters2021-05-28
| |
* | Merge pull request #122158 from danieldk/import-cargo-lockDaniël de Kok2021-05-28
|\ \ | | | | | | rustPlatform.buildRustPackage: support direct use of Cargo.lock
| * | rustPlatform.buildRustPackage: support direct use of Cargo.lockDaniël de Kok2021-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces the cargoLock argument to buildRustPackage, which can be used in place of cargo{Sha256,Hash} or cargoVendorDir. It uses the importCargoLock function to build the vendor directory. Differences compared to cargo{Sha256,Hash}: - Requires a Cargo.lock file. - Does not require a Cargo hash. - Retrieves all dependencies as fixed-output derivations. This makes buildRustPackage much easier to use as part of a Rust project, since it does not require updating cargo{Sha256,Hash} for every change to the lock file.
| * | rustPlatform.importCargoLock: initDaniël de Kok2021-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function can be used to create an output path that is a cargo vendor directory. In contrast to e.g. fetchCargoTarball all the dependent crates are fetched using fixed-output derivations. The hashes for the fixed-output derivations are gathered from the Cargo.lock file. Usage is very simple, e.g.: importCargoLock { lockFile = ./Cargo.lock; } would use the lockfile from the current directory. The implementation of this function is based on Eelco Dolstra's import-cargo: https://github.com/edolstra/import-cargo/blob/master/flake.nix Compared to upstream: - We use fetchgit in place of builtins.fetchGit. - Sync to current cargo vendoring.
* | | Merge pull request #120319 from fricklerhandwerk/docs-to-markdownRyan Mulligan2021-05-27
|\ \ \ | |_|/ |/| | doc/using: convert to markdown
| * | docs/using: shellSession -> ShellSessionfricklerhandwerk2021-04-25
| | | | | | | | | | | | Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
| * | doc/using: convert to markdownfricklerhandwerk2021-04-23
| | |
* | | Merge pull request #124273 from NixOS/backporting-actionDomen Kožar2021-05-25
|\ \ \ | | | | | | | | Add backporting action
| * | | backport action: document the workflowDomen Kožar2021-05-25
| | | |
* | | | beam-packages: drop erlang R18 R19 R20 and cuterThomas Depierre2021-05-25
| | | |
* | | | beam: fix documentationhappysalada2021-05-25
|/ / /
* | | elixir: add deprecation schedule docshappysalada2021-05-24
| | |