summary refs log tree commit diff
path: root/doc
Commit message (Collapse)AuthorAge
* nixos/doc: Synchronize the Markdown generator with NixpkgsJan Tojnar2021-06-18
| | | | Switch to CommonMark with our extensions.
* 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 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`.
* | | 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
| | |
* | | doc/submitting-changes: should -> mustAlyssa Ross2021-05-23
| | | | | | | | | | | | | | | | | | | | | To me, as a native English speaker, this doesn't change the meaning of the sentence at all. But to a non-native speaker, this can read like the staging-next rules are only recommendations. Let's make this clearer.
* | | Merge pull request #123111 from hercules-ci/writeDirectReferencesToFileRobert Hensing2021-05-17
|\ \ \ | | | | | | | | writeDirectReferencesToFile and maintenance
| * | | writeReferencesToFile: docs and testsRobert Hensing2021-05-15
| | | |
| * | | writeDirectReferencesToFile: initRobert Hensing2021-05-15
| | | |
* | | | doc: Add anchors to dhall sectionsJan Tojnar2021-05-17
| | | | | | | | | | | | This will ensure the sections have stable links as well as prevent conflicts (pandoc uses heading text for ids and DocBook requires unique ids across the book).
* | | | Merge pull request #121252 from NixOS/SuperSandro2000-patch-1Sandro2021-05-17
|\ \ \ \ | | | | | | | | | | doc/contributing: add unnecessary string conversions
| * | | | doc/contributing: add unnecessary string conversionsSandro2021-04-30
| | | | |
* | | | | restore buildMix and its bootstrapper (#122374)ydlr2021-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * restore mixBuild remove bootstrapper by going through ERL_LIBS mix will use ERL_LIBS to find compiled dependencies Co-authored-by: Zach <zach@hipcreativeinc.com>
* | | | | dhall: Document language support in the Nixpkgs manual (#123051)Gabriel Gonzalez2021-05-15
| |/ / / |/| | |
* | | | mkShell: introduce packages argument (#122180)Jonas Chevalier2021-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The distinction between the inputs doesn't really make sense in the mkShell context. Technically speaking, we should be using the nativeBuildInputs most of the time. So in order to make this function more beginner-friendly, add "packages" as an attribute, that maps to nativeBuildInputs. This commit also updates all the uses in nixpkgs.
* | | | rebar3: add rebar3WithPluginsDavid2021-05-11
| | | |
* | | | nixpkgs-manual: lib.attrsets.mapAttrsToList returns a list (#122179)Erlend Pedersen2021-05-08
| | | |
* | | | gnome: rename from gnome3Jan Tojnar2021-05-08
| | | | | | | | | | | | | | | | Since GNOME version is now 40, it no longer makes sense to use the old attribute name.