about summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2021-08-20treewide: ensure pre/post phase hooks are stringsSebastián Mancilla1-1/+1
Some derivations use lib.optional or lib.optionals when setting pre/post phase hooks. Ensure the proper lib.optionalString is used.
2021-08-17Merge pull request #134413 from Zimmi48/package-hydra-battlesBen Siraphob1-0/+1
2021-08-17coqPackages.mkCoqDerivation: fix useDune2Théo Zimmermann1-0/+1
- Reuse build phase from the `buildDunePackage` function. - Only install the package that was just built (useful for monorepo support). - Introduces `opam-name` to override the default package name to build with Dune.
2021-08-14nixpkgs-docs: when to prefer passthru.tests over installCheckPhaseArnout Engelen3-2/+46
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
2021-08-09doc: updated lua docMatthieu Coudron1-5/+3
mentions lua 5.4 + fixed an error
2021-08-09update-luarocks-packages: use pluginupdate.pyMatthieu Coudron1-1/+1
Trying to reuse the update scripts used by kakoune/vim to provide the user with an unified convergence. Some stuff doesn't work yet (parallel download, caching) but I (anyone else welcome to try too) will improve it in other PRs.
2021-08-07Merge pull request #105494 from alunduil/missing-operator-mapAttr-docDoron Behar1-1/+1
2021-08-06buildGoModule: add proxyVendorzowoq1-0/+1
2021-08-06buildGo{Module,Package}: add `tags` argumentzowoq1-10/+15
Simpler method of setting tags rather than using some combination of buildFlags, buildFlagsArray, preBuild, etc Using `lib.concatStringsSep ","` as space separated tags are deprecated in go.
2021-08-05doc: remove unnecessary parenthesesKid1-1/+1
2021-08-04Merge pull request #130021 from neosimsim/fix-emacs-override-examplesadisbladis1-1/+1
emacs: fix overrideScope' examples
2021-08-02Merge pull request #132351 from figsoda/rust-docJörg Thalheim1-1/+9
doc: rust: improve documentation on cargoLock.lockFile
2021-08-02Merge pull request #130207 from hercules-ci/passthru-sensible-timeoutdavidak1-1/+1
doc/coding-conventions: Increase passthru test timeout 3s -> 60s
2021-08-01doc: rust: improve documentation on cargoLock.lockFilefigsoda1-1/+9
2021-07-30doc: rust: add missing semicolonAlyssa Ross1-1/+1
2021-07-28Merge pull request #126001 from est31/masterRyan Mulligan1-1/+1
Add the -a param to the docs
2021-07-27manuals: Describe how to link NixOS tests from packagesNiklas Hambüchen1-1/+27
2021-07-19Merge branch 'master' into staging-nextMartin Weinelt1-1/+28
2021-07-19Merge pull request #130206 from symphorien/treesitter-docGuillaume Girol1-1/+28
vimPlugins.nvim-treesitter: document plugins
2021-07-18vimPlugins.nvim-treesitter: document pluginsGuillaume Girol1-1/+28
2021-07-16Merge master into staging-nextgithub-actions[bot]1-0/+2
2021-07-14doc/coding-conventions: Increase passthru test timeout 3s -> 60sRobert Hensing1-1/+1
3s is too small a margin for a loaded slow system to start a bloated program. This leads to problems when tests are written on decent dev hardware but later run on build farms of potentially slower hardware, particularly in the case of non x86. The chance of needing the timeout is actually very small, so those rare 57s are a reasonable price to pay for fewer timeouts on build farms, each of which should be investigated and usually fixed by increasing the timeout.
2021-07-12emacs: fix overrideScope' examplesAlexander Ben Nasrallah1-1/+1
2021-07-11buildFHSUserEnv: document `profile` parameterMauricio Scheffer1-0/+2
2021-07-08Merge branch 'master' into staging-nextDmitry Kalinkin1-1/+1
2021-07-06Link to Libera, Matrix instead of FreenodeslotThe1-1/+1
The project has moved away from Freenode as an IRC network[1], and there is now a quite large channel on Libera. As such, we should point users towards that instead. This also changes all examples to refer to libera instead of freenode as, with the recent deletion of all freenode channels, it is perhaps where most communities are to be found nowadays. Finally, also link to the official Matrix room[2] as an alternative to IRC. Related: https://github.com/NixOS/nixpkgs/pull/129384 [1]: https://discourse.nixos.org/t/join-us-on-matrix-at-nix-nixos-org-migrating-from-freenode [2]: https://github.com/NixOS/rfcs/pull/94
2021-07-06Merge staging-next into staginggithub-actions[bot]1-9/+18
2021-07-05manual: Hardening: Remove now-nonexistent ArchWiki link.Niklas Hambüchen1-1/+1
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.
2021-07-05fixup! python3: 3.8 -> 3.9Robert Schütz1-1/+1
2021-07-05python3: 3.8 -> 3.9Frederik Rietdijk1-1/+1
2021-07-05manual: hardening: Fix disabled flags prose being in previous sectionNiklas Hambüchen1-9/+18
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.
2021-07-03treewide: use pythonPackages.python-dateutil instead of pythonPackages.dateutilRobert Schütz1-3/+3
2021-07-01beam: update reference to nodejs packageMario Rodas1-1/+1
nodejs-15_x has reached EOL, and removed from nixpkgs.
2021-07-01docs: update Steam instructions to use steam-run-native packageChris Martin1-10/+1
pkgs.steam-run-native is defined as exactly the expression that these instructions tell you to write, so the instruction is no longer necessary since we can just tell you to use that.
2021-06-30Merge pull request #128123 from Mazurel/masterLuke Granger-Brown2-0/+32
hy: 0.19.0 -> 1.0a1 and improvements
2021-06-28Merge pull request #124875 from hercules-ci/lib-sourcesRobert Hensing2-0/+3
lib.sources: docs, tests, refactoring
2021-06-27hy: 0.19.0 -> 1.0a1 and improvementsMazurel2-0/+32
2021-06-26Merge pull request #128163 from nh2/github-actions-backport-link-to-criteriaDomen Kožar1-2/+2
Make backport bot link to criteria, make `CONTRIBUTING.md` more prominent
2021-06-26CONTRIBUTING.md: Move to repo root, where it is more visible.Niklas Hambüchen1-2/+2
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
2021-06-22Merge branch 'master' into staging-nextMartin Weinelt2-26/+49
2021-06-22Refresh the Ocaml package examples; document `useDune2` (#127520)Graham Fawcett1-25/+48
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.
2021-06-22doc/functions/generators: fix code blockrnhmjoj1-1/+1
Small fixup of 606bf6d.
2021-06-18Merge master into staging-nextgithub-actions[bot]1-2/+3
2021-06-18nixos/doc: Synchronize the Markdown generator with NixpkgsJan Tojnar1-2/+3
Switch to CommonMark with our extensions.
2021-06-16Merge staging-next into staginggithub-actions[bot]1-1/+19
2021-06-16Merge pull request #126591 from jtojnar/glib-networking-docJan Tojnar1-1/+19
doc/gnome: document GIO modules
2021-06-13Merge staging-next into staginggithub-actions[bot]1-1/+1
2021-06-12Merge pull request #125671 from SFrijters/doc-improve-make-cleanRyan Mulligan1-1/+1
doc: Clean up generated media directory
2021-06-11stdenv: introduce dontAddStaticConfigureFlagsAlyssa Ross1-1/+7
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.
2021-06-11doc/functions/generators: convert to CommonMarkRyan Mulligan3-75/+57