1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
Commit graph

2985 commits

Author SHA1 Message Date
natsukium a33d17fadc
doc/languages-frameworks/python: update recommended commit message 2023-11-09 11:27:22 +09:00
natsukium bcb19b212c
doc/languages-frameworks/python: switch pythonPackages to python3Packages
Replaced with python3Packages except for the following to avoid misuse of pythonPackages
1. which we need for the explanation
2. which are replaced by python3Packages as variables
2023-11-09 10:55:05 +09:00
natsukium 224ea037e4
doc/languages-frameworks/python: update interpreters version 2023-11-09 09:56:00 +09:00
Silvan Mosberger 2556605a35 lib.fileset: Remove "somewhat limited" from the docs
It's not very limited anymore :)
2023-11-08 23:32:53 +01:00
github-actions[bot] d49b3ff9e3
Merge staging-next into staging 2023-11-08 12:02:19 +00:00
Adam Joseph ba2ed469c2
Merge branch 'master' into staging-next 2023-11-08 06:15:46 +00:00
Artturi d24da52844
Merge pull request #265764 from amjoseph-nixpkgs/pr/pythonForBuild 2023-11-08 00:13:25 +02:00
Yueh-Shun Li 9d6da5bd1e doc: rename sub-section Recursive attributes in stdenv -> Fixed-point arguments in stdenv
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-11-07 19:58:54 +00:00
Yueh-Shun Li 8cd8a5152e doc: add introduction to build helpers
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-11-07 19:58:54 +00:00
Yueh-Shun Li 9963ad5c5f doc: builders -> build helpers to reduce ambigualty 2023-11-07 19:58:53 +00:00
Yueh-Shun Li 70f21a2136 doc: darwin.linux-builder: replace "builder" with "remote builder" 2023-11-07 19:58:52 +00:00
Yueh-Shun Li e58b71da99 doc: move section darwin-builder under chapter packages 2023-11-07 19:58:51 +00:00
Yueh-Shun Li a12beafc57 doc: move doc/builders/packages -> doc/packages 2023-11-07 19:58:51 +00:00
Vincenzo Mantova aca44fe219
texlive: document new texlive.withPackages interface (#265658) 2023-11-07 14:39:42 -05:00
Weijia Wang 8012034692 Merge branch 'staging-next' into staging 2023-11-07 03:41:49 +01:00
github-actions[bot] 38bc2a577e
Merge master into staging-next 2023-11-07 00:02:31 +00:00
Robert Hensing b6193921d0
Merge pull request #264674 from teutat3s/fix-dockertools-prefetch-example
doc: fix dockerTools nix-prefetch-docker example
2023-11-06 17:12:33 +01:00
Adam Joseph bc2d598878 treewide: change pythonForBuild to pythonOnBuildForHost 2023-11-05 17:42:12 -08:00
Andreas Fuchs 0cdbf88f83 doc: Add lib.meta to the library functions ToC
This seems like a pretty easy-to-fix oversight, and it documents the
getExe function, which I never knew about until one day I saw a PR
using it. Let's include it in the manual.
2023-11-04 11:24:19 -04:00
github-actions[bot] 5e4689f921
Merge staging-next into staging 2023-11-02 18:01:39 +00:00
github-actions[bot] 29efc257c0
Merge master into staging-next 2023-11-02 18:01:07 +00:00
Valentin Gagarin 9a49f0cb28
document differences to built-in fetchers (#263569)
* document differences to built-in fetchers

Co-authored-by: Alexander Groleau <source@proof.construction>
2023-11-02 18:27:39 +01:00
Valentin Gagarin 3b5b8e31a3 fixup note on dhall-to-nixpkgs example 2023-11-02 17:38:03 +01:00
github-actions[bot] 2999b3c997
Merge staging-next into staging 2023-11-01 18:01:31 +00:00
github-actions[bot] cd7af6170b
Merge master into staging-next 2023-11-01 18:01:01 +00:00
Dmitry Kalinkin ec2e217c52
Merge pull request #250805 from xworld21/texlive-buildenv-minimal
texlive: overrideTeXConfig/withPackages
2023-11-01 13:29:10 -04:00
teutat3s e75c485fd3
doc: fix dockerTools nix-prefetch-docker example 2023-10-31 22:40:21 +01:00
Anderson Torres 54f864f5c5 doc: update meson.section.md 2023-10-30 16:32:56 -03:00
Vladimír Čunát 5c89ba8ab4
Merge branch 'master' into staging-next 2023-10-30 06:12:04 +01:00
Matthieu Coudron f15e58cbeb
luarocks-packages-update: init (#262156)
* luarocks-packages-updater: init

Goal is to make it possible to maintain out-of-tree luarocks packages
without needing to clone nixpkgs.

maintainers/scripts/update-luarocks-packages gets renamed to
pkgs/development/lua-modules/updater/updater.py

Once merged you can run for instance
nix run nixpkgs#luarocks-packages-updater -- -i contrib/luarocks-packages.csv -o contrib/generated-packages.nix

I also set the parallelism (--proc) to 1 by default else luarocks fails
because of https://github.com/luarocks/luarocks/issues/1540

* Update maintainers/scripts/pluginupdate.py

Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>

---------

Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>
2023-10-29 21:02:55 +01:00
github-actions[bot] 519b7ea0c3
Merge master into staging-next 2023-10-28 12:01:19 +00:00
Eirik Wittersø 2fd6af1929 fetchFromBittorrent: Rename to fetchtorrent 2023-10-28 11:32:10 +01:00
Weijia Wang 0fdb1ee374 doc: fix heading of mesonInstallTags 2023-10-27 16:59:43 +02:00
github-actions[bot] 08be9a9577
Merge master into staging-next 2023-10-26 12:01:25 +00:00
Valentin Gagarin 643419f02b
Merge pull request #258595 from fricklerhandwerk/doc-emscripten
Emscripten docs: reword and remove mention of `nix-env`
2023-10-26 13:34:15 +02:00
Vladimír Čunát d811555465
Merge branch 'staging' into staging-next 2023-10-26 10:36:50 +02:00
Stel Abrego 5452afb039 doc: use lib.fakeHash with buildGoModule to get vendorHash
lib.fakeSha256 results in `error: hash <fake_hash> does not include a
type, nor is the type otherwise known from context`.
2023-10-24 14:47:23 -07:00
Florian Klink 87896bfdd1
Merge pull request #261798 from blitz/systemd-minimization
Avoid Two Sets of systemd Binaries in System Closure
2023-10-24 18:51:28 +03:00
Silvan Mosberger 200aa0366f
Merge pull request #262301 from ShamrockLee/doc-lib-customisation
Generate and refine documentation for `lib.customisation`
2023-10-24 02:38:34 +02:00
github-actions[bot] df9eab6771
Merge staging-next into staging 2023-10-23 00:03:00 +00:00
Jade Lovelace 0504bc63e4
doc/stdenv: rewrite manual build procedure to be closer to an auto-build (#262137)
* doc/stdenv: rewrite manual build procedure to be closer to an auto-build

This is based on
<https://jade.fyi/blog/building-nix-derivations-manually/> plus some
more original research.

The previous version of this section did not work for your choice of
simple Haskell package, e.g. haskellPackages.hscolour, due to things
like `compileBuildDriverPhase` and other custom phases that it
does not address at all.

It seems more correct to use genericBuild in development to harmonize it
with what is actually done.

I feel a little bit like I am committing a sin by suggesting using the
experimental CLI in the manual (afaict I am the first to do this), but I
have given the old version of the command, and there are justifiable
reasons to do it:
* The noted limitations with env-vars are fixed. The one with the
  non-empty temp directory was one I ran into myself and oh boy was that
  not fun to debug.
* Additionally the outputs are set *before* sourcing `setup.sh`: there
  is an issue with nix-shell where the original version of `$out` winds
  up in `NIX_LDFLAGS` due to _addRpathPrefix, which means that resulting
  executables may not run properly.

It is sad that `nix develop` propagates a wrong value of `SHELL` to
builders, though. It is equally sad that `nix-shell` is essentially
abandoned upstream, with undocumented and not insignificant differences
from `nix develop`.

For the exact script differences:
17e6b85d05/src/nix-build/nix-build.cc (L516-L551)
db026103b1/src/nix/get-env.sh

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-10-23 01:53:23 +02:00
Julian Stecklina 36eff4f431 meson: introduce mesonInstallTags
Projects building with meson are currently installTargets. Map these
to install tags, which are roughly equivalent. This allows projects to
selectively install components.
2023-10-23 01:46:24 +02:00
github-actions[bot] 09fabcdc4e
Merge staging-next into staging 2023-10-22 00:03:08 +00:00
Maciej Krüger b465d339b3
Merge pull request #231483 from hacker1024/feature/flutter-on-dart
buildFlutterApplication: Wrap buildDartApplication
2023-10-21 23:42:02 +02:00
github-actions[bot] f4afba2014
Merge staging-next into staging 2023-10-21 18:01:53 +00:00
Alyssa Ross 31ebe7b459 doc: fix heading levels of Meson hook documentation
Fixes: 10f35ff05d ("meson.setupHook: prefer meson commands over ninja")
2023-10-21 15:26:27 +00:00
Martin Weinelt 7efc0b2418 doc/python: mention python313 2023-10-21 16:18:27 +02:00
hacker1024 6298ac2774 buildDartApplication: Use package override mechanism from buildFlutterApplication
This allows Dart applications to benefit from the package override system, which is useful for things like FFI dependencies.
2023-10-21 22:30:23 +11:00
Yueh-Shun Li a8d5d2f207 doc: generate documentation for lib.customisation 2023-10-20 20:58:47 +08:00
github-actions[bot] fe1d100fb0
Merge staging-next into staging 2023-10-19 12:01:37 +00:00
Robert Hensing 4b5b27c7ca
Merge pull request #260770 from hercules-ci/darwin-builder-observable
`darwin.linux-builder`: Make more observable
2023-10-19 13:26:22 +02:00
github-actions[bot] c12ce83e4e
Merge staging-next into staging 2023-10-18 18:01:38 +00:00
matthewcroughan b289b43bf8 fetchFromBittorrent: init
Adds a basic FOD Fetcher for Bittorrent that uses Transmission as a client

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-10-18 14:07:42 +01:00
github-actions[bot] ba519bf3b1
Merge staging-next into staging 2023-10-17 00:02:46 +00:00
Silvan Mosberger 4fe863a485
Merge pull request #251190 from alejandrosame/docs-mention-nrd
doc manuals: add reference to nixos-render-docs
2023-10-16 20:05:56 +02:00
Robert Hensing 508c310222 darwin.linux-builder: Expose nixosConfig and nixosOptions attributes
I chose not to do nixos.{config, options} because that would make it
look too much like a configuration object, which it is not.

A configuration object I would define as for example the result of
calling NixOS, an attrset with `_type = "configuration";`.

Recreating a configuration object without evalModules is quite
feasible but not guaranteed to be correct, and not maintainable.
2023-10-12 23:10:41 +02:00
github-actions[bot] e7a4ca9630
Merge staging-next into staging 2023-10-10 00:02:44 +00:00
Valentin Gagarin 61fa1255f8 link to documentation on IFD in the Nix manual 2023-10-09 23:57:03 +02:00
Alyssa Ross 10f35ff05d meson.setupHook: prefer meson commands over ninja
Meson now comes with its own set of commands for building, testing,
installing etc., that by default wrap around Ninja.  The reason to
prefer using the Meson commands is that they take additional
options (e.g. setting custom timeouts for tests — my motivation for
this change).

Here, I've modified the Meson setup hook so that Meson's test and
install commands will be used instead of Ninja's when Meson's
configurePhase is used.  This restriction is to avoid starting to run
Meson directly when dealing with custom build systems that wrap around
Meson, like QEMU's.  We don't use meson's compile command, as it just
runs ninja, and that's handled fine by the existing Ninja setup hook.

Naturally the Meson commands don't support entirely the same set of
options that the Ninja ones did, but I checked through Nixpkgs to find
any packages using Meson that used any options that wouldn't be picked
up by this new system.  I only found one, and it was just setting
checkTarget = "test", which is the default value for Ninja and has no
Meson equivalent (because we directly tell Meson to run the tests
rather than going through a generic job system like Ninja).

Link: https://github.com/NixOS/nixpkgs/issues/113829
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2023-10-09 10:21:36 +00:00
Doron Behar d090cd9af4
Merge pull request #258384 from doronbehar/buildNpmPackage-makeWrapperArgs
buildNpmPackage: support makeWrapperArgs
2023-10-08 12:38:33 +03:00
Vincenzo Mantova a06e07539e texlive: document new texlive.pkgs attribute 2023-10-07 18:49:19 +01:00
Doron Behar fc96f6d0fd buildNpmPackage: support makeWrapperArgs 2023-10-07 14:09:05 +03:00
Doron Behar d6521ce186 docs/javascript/buildNpmPackage: Document fetchNpmDeps
Co-authored-by: Lily Foster <lily@lily.flowers>
2023-10-07 14:09:05 +03:00
Doron Behar 384b1e5b91 docs/javascript/buildNpmPackage: Document bin, man and npm pack behavior 2023-10-07 14:09:05 +03:00
github-actions[bot] 2d9bfd243a
Merge master into haskell-updates 2023-10-04 00:12:08 +00:00
Matthieu Coudron 47d0a0c440
Merge pull request #253714 from teto/vim-updater-package 2023-10-03 15:55:44 +02:00
github-actions[bot] ea0284a3da
Merge master into haskell-updates 2023-10-03 00:12:01 +00:00
Valentin Gagarin b2f526526a emscripten docs: reformat examples to use admonition
that way the examples will also appear in the appendix

Co-authored by: Henrik Karlsson <i97henka@gmail.com>
2023-10-03 00:45:18 +02:00
Valentin Gagarin dd54e58c94 emscripten docs: reword introduction
in particular, remove mention of `nix-env`

Co-authored by: Henrik Karlsson <i97henka@gmail.com>
2023-10-03 00:45:18 +02:00
Lorenzo Manacorda b19e9bebdc doc: minimal documentation of supported platforms
This commit adds minimal documentation of the supported platforms.
More exhaustive documentation would require producing a list of
platforms for each of the 7 tiers. This was attempted in #245368, but it
quickly became clear that that would be a long-term effort.

In the meantime, this commit adds the most important information to the
manual.

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-10-02 21:21:56 +02:00
Matthieu Coudron 901b21c555 vimPluginsUpdater: init
The nixpkgs documentation mentions how to update out of tree plugins but
one problem is that it requires a nixpkgs clone.
This makes it more convenient.
I've had the need to generate vim plugins and lua overlays for other
projects unrelated to nix and this will make updates easier (aka just
run `nix run nixpkgs#vimPluginsUpdater -- --proc=1` or with the legacy commands:
`nix-shell -p vimPluginsUpdater  --run vim-plugins-updater`.

I added an optional "nixpkgs" argument to command line parser, which is the path
towards a nixpkgs checkout. By default the current folder.

update-luarocks-packages: format with black
2023-10-01 17:30:55 +02:00
mdarocha f1cc116e3d buildDotnetModule: make docs more clear on how to generate nugetDeps for the first time 2023-09-30 13:21:36 +02:00
github-actions[bot] c0831fce32
Merge master into haskell-updates 2023-09-30 00:11:44 +00:00
Alejandro Sánchez Medina cbd1748558
nixpkgs manual: add an alternative example in stdenv-separateDebugInfo (#257861)
* nixpkgs manual: add an alternative example in stdenv-separateDebugInfo

This change gets rid of the indirect reference to `nix-env -i` usage
and shows how to achieve the same goal with a shell expression.

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-09-29 10:23:22 +02:00
github-actions[bot] 23bb2be564
Merge master into haskell-updates 2023-09-29 00:11:52 +00:00
Peder Bergebakken Sundt 470614b671 treewide: Fix typos 2023-09-28 19:06:13 +02:00
github-actions[bot] 6982839dbf
Merge master into haskell-updates 2023-09-28 00:12:12 +00:00
Matthieu Coudron 0ab2c96429 vimUtils: buildVimPluginFrom2Nix renamed to buildVimPlugin
the `from2Nix` suffix is a legacy from vim2nix but we dont use that anymore. It makes the name of the function unusual and long.
2023-09-27 19:08:38 +02:00
Felix Yan 8ac0795c1f doc: fix wrong flag in description of bindnow
`-z bindnow` doesn't exist. The actual flag added is `-z now`.
2023-09-27 09:59:56 -03:00
github-actions[bot] a1486d7898
Merge master into haskell-updates 2023-09-26 00:11:53 +00:00
Valentin Gagarin fba19509b1 use nix-shell -p for dhall-to-nixpkgs example 2023-09-25 17:00:55 +02:00
Valentin Gagarin 370097ce86
remove the misleading warning on using nix-env for split outputs (#255947)
The text was originally added [0] following an apparently incomplete
research on how everything plays together. In fact, Nix propagates
`outputs` to the corresponding nested derivations, and there is some
messy behavior in Nixpkgs that only seems to propagate
`meta.outputsToInstall` in `buildEnv`[1].

This change moves the hints on how to use NixOS specifics to NixOS
module documentation (which is hopefully easier to find through
search.nixos.org), describes the default behavior in Nixpkgs (updating
a the link to the source), and removes the confusing mention of
`nix-env`.

the last of them should not be there to begin with. we don't want
beginners to use `nix-env`, as this is known to run them into trouble
eventually.

[0]: https://github.com/NixOS/nixpkgs/pull/76794
[1]: 1774d07242/pkgs/build-support/buildenv/default.nix (L66)
2023-09-25 16:23:01 +02:00
Frederik Rietdijk f4822bb295
Merge pull request #254309 from pbsds/flit-prune
python3Packages.flitBuildHook: remove
2023-09-25 11:34:15 +02:00
github-actions[bot] 979ae655ed
Merge master into haskell-updates 2023-09-25 00:12:21 +00:00
Alejandro Sánchez Medina ade134ecd1
nixpkgs manual: doc python: add hyperlinks to Python section (#252156)
* nixpkgs manual: doc python: add hyperlinks to Python section

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-09-24 19:13:18 +02:00
Artturin 70aa345bec doc/python: use python3Packages instead of python3.pkgs
Allows splicing to work correctly

from issue 211340

>> 3: Discourage using package sets like python3.pkgs "directly"

> I think about 8 years ago I introduced this and it has been a clear mistake. Since then this pattern was copied throughout. We should indeed go to pythonPackages and also move the helpers such as buildEnv and withPackages into the package set, like haskell already had before.

- FRidh
2023-09-23 07:57:07 +03:00
github-actions[bot] c7e7b8497d
Merge master into haskell-updates 2023-09-23 00:11:31 +00:00
Peder Bergebakken Sundt bdda7b0a53 python3Packages.flitBuildHook: remove 2023-09-22 21:11:24 +02:00
Anderson Torres c1b3bfba4f doc: include short docs about bmake 2023-09-22 01:38:23 -03:00
github-actions[bot] 8d865daa72
Merge master into haskell-updates 2023-09-22 00:11:39 +00:00
Robert Hensing 5c97f01a9d
Merge pull request #255025 from tweag/fileset.union
`lib.fileset.union`, `lib.fileset.unions`: init
2023-09-21 11:49:57 +02:00
github-actions[bot] 5c87b0f672
Merge master into haskell-updates 2023-09-21 00:11:46 +00:00
Silvan Mosberger c5ae093f13 lib.fileset: Various updates relating to union/unions
Also some minor formatting improvements
2023-09-21 00:21:01 +02:00
maralorn a4f9ea332a
haskell-docs: Fix typo in function name 2023-09-20 19:44:16 +02:00
Wout Mertens 00de2104fc corepack: PR review updates
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Sandro Jaeckel <sandro.jaeckel@gmail.com>
2023-09-20 17:27:05 +02:00
Wout Mertens 724f6bcb77 nodejs: corepack wrappers package 2023-09-20 10:10:51 +02:00
Robert Hensing 2999014a5f
Merge pull request #255916 from fricklerhandwerk/doc-runcommand
rewrite `runCommand` interface docs
2023-09-18 19:42:17 +02:00
Valentin Gagarin 35d066de5f rewrite runCommand interface docs
specifically this corrects the misleading statement that `env` takes
environment variables for the derivation.
2023-09-18 17:47:47 +02:00
Valentin Gagarin e2c2528075
BEAM docs: recommend nix-shell -p and shell.nix instead of nix-env (#255131)
* BEAM docs: recommend `nix-shell -p` and `shell.nix` instead of `nix-env`

Co-authored-by: asymmetric <lorenzo@mailbox.org>
2023-09-18 16:34:30 +02:00
Raphael Gaschignard 49e24fc872
Mention qt-specific callPackage variants in docs 2023-09-18 10:35:23 +09:00
Mario Rodas 3b1f3712a4
Merge pull request #255128 from PuercoPop/ruby-document-extraConfigPaths
ruby: document extraConfigPaths option from bundlerEnv
2023-09-15 08:13:32 -05:00
Maciej Krüger 7b737acb4a
Merge pull request #254967 from nbraud/sha256-to-hash/top-level 2023-09-15 14:36:49 +02:00
Weijia Wang 0cfc319f83 fetchDebianPatch: Require patch names with extensions
Otherwise the fetcher is unuseable with patches
whose filename (in Debian) doesn't end in `.patch`.
2023-09-14 18:55:30 +00:00
Frederik Rietdijk 53dd1a6edb
Merge pull request #254136 from figsoda/python
python310Packages.buildPythonPackage: introduce pyproject option
2023-09-14 18:33:49 +02:00
asymmetric 52351762b7
doc: remove mention of X11 license variant (#255081)
The Nixpkgs license is pure MIT.
2023-09-14 18:08:25 +02:00
asymmetric b414f942e0
doc: link, instead of just mentioning, Nix manual (#255126)
Instead of just telling the reader to go find the relevant section of the Nix
manual, let's just link to it. Yay hypertext!
2023-09-14 17:09:39 +02:00
Maximilian Ehlers a29cf4aece
Link to usage of pkg description instead of referring to nix-env (#255127)
* Updates meta.chapter.md with a reference link to the usage of the package description field instead of referring to nix-env

---------

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-09-14 16:59:20 +02:00
Javier Olaechea fbe107fd5c ruby: document extraConfigPaths option from bundlerEnv 2023-09-14 09:46:07 -05:00
Elis Hirwing 350cac13cf
Merge pull request #248184 from NixOS/php/add-new-builder-only
php: add new Composer builder
2023-09-14 07:50:27 +02:00
nicoo fe138d36c9 doc: Replace sha256 with hash where appropriate 2023-09-13 17:24:49 +00:00
Pol Dellaiera c0c01910ce
php: update documentation 2023-09-13 15:00:03 +02:00
github-actions[bot] f90dd167f5
Merge master into staging-next 2023-09-13 12:01:05 +00:00
ajs124 f85cec7548 erlang23: remove 2023-09-13 11:33:11 +00:00
figsoda 39c64e2323 doc/python: document pyproject and remove usages of format 2023-09-12 19:54:43 -04:00
Vladimír Čunát 300eaad172
Merge branch 'master' into staging-next 2023-09-12 19:06:44 +02:00
nicoo c7423cd734 noto-fonts-emoji → noto-fonts-color-emoji
Clarify that the monochrome font is not included, per #221181.

The new name is also coherent with the name of the font,
according to `fontconfig`: Noto Color Emoji.
2023-09-12 12:38:07 +00:00
Anderson Torres 3fc613c5ba
Merge branch 'master' into staging-next 2023-09-11 23:25:38 +00:00
Anderson Torres eea12fdf8c doc/hooks/zig.section.md: rewrite
- Normalize header IDs, in order to not cause conflicts with identically named
  headers in other docs.
- Reorganize the hierarchy of information.
2023-09-10 16:23:27 -03:00
Anderson Torres a0b25e2566 doc/hooks/waf.section.md: rewrite
- Normalize header IDs, in order to not cause conflicts with identically named
  headers in other docs.
- Reorganize the hierarchy of information.
2023-09-10 16:23:22 -03:00
github-actions[bot] 66c722f52f
Merge master into staging-next 2023-09-09 18:01:05 +00:00
Anderson Torres 1b75ac310a doc/hooks/zig.section.md: reword
- Refer to stdenv documentation instead of repeating it
2023-09-09 15:27:11 +00:00
Yureka ef69e91c60 Merge branch 'waf-cross' of https://github.com/atorres1985-contrib/nixpkgs into HEAD 2023-09-09 08:27:19 +02:00
github-actions[bot] 542aa87231
Merge master into staging-next 2023-09-08 00:02:13 +00:00
Weijia Wang bd2ccdef23
Merge pull request #251006 from Uthar/doc-lisp001
doc/lisp:  Clarifications in the manual
2023-09-07 22:37:02 +02:00
Anderson Torres 83b98f9b35 doc/hooks/waf.section.md: update
- Reword and reorganize sections
2023-09-06 10:41:28 -03:00
Artturi 31c9deb4f7
Merge pull request #218783 from timbertson/stripExcludeExtensions 2023-09-05 00:37:17 +03:00
Tim Cuthbertson 0bffcc3f3c setup-hooks/strip: add stripExclude 2023-09-03 20:18:10 +03:00
github-actions[bot] dc4f4e4a48
Merge staging-next into staging 2023-09-02 06:01:27 +00:00
github-actions[bot] 45ced9b1f6
Merge master into staging-next 2023-09-02 06:00:55 +00:00
Silvan Mosberger d66929b7b1
Merge pull request #245623 from tweag/fileset.toSource
File set combinators base: `lib.fileset.toSource`
2023-09-02 04:07:02 +02:00
Anderson Torres 9679a1216e doc/hooks/waf.section.md: update
- change wafConfigureFlags to configureFlags
- explain wafFlags
2023-09-01 15:21:21 +00:00
Silvan Mosberger 465e05c0c5 lib.fileset.toSource: init 2023-09-01 15:46:04 +02:00
github-actions[bot] cfbf9d795e
Merge master into staging-next 2023-08-31 18:01:26 +00:00
Connor Baker d5e5246e76 cudaPackages: split outputs
This change which involves creating multiple outputs for CUDA
redistributable packages.

We use a script to find out, ahead of time, the outputs each redist
package provides. From that, we are able to create multiple outputs for
supported redist packages, allowing users to specify exactly which
components they require.

Beyond the script which finds outputs ahead of time, there is some custom
code involved in making this happen. For example, the way Nixpkgs
typically handles multiple outputs involves making `dev` the default
output when available, and adding `out` to `dev`'s
`propagatedBuildInputs`.

Instead, we make each output independent of the others. If a user wants
only to include the headers found in a redist package, they can do so by
choosing the `dev` output. If they want to include dynamic libraries,
they can do so by specifying the `lib` output, or `static` for static
libraries.

To avoid breakages, we continue to provide the `out` output, which
becomes the union of all other outputs, effectively making the split
outputs opt-in.
2023-08-31 03:31:55 +00:00
github-actions[bot] ce84b1371f
Merge master into staging-next 2023-08-31 00:01:54 +00:00
Weijia Wang 30c071bebb
Merge pull request #249982 from nagy/chicken-scope
chickenPackages: turn into scope, update
2023-08-31 01:05:51 +02:00
github-actions[bot] e3e1b16eb6
Merge master into staging-next 2023-08-30 18:00:58 +00:00
nicoo d613fb52c9 doc/fetchers: fetchDebianPatch: don't imply how long a patch remains available 2023-08-30 08:06:10 +00:00
nicoo d4e265327f fetchDebianPatch: Rename patch parameter, make name overrideable
This allows using the fetcher with `invalidateFetcherByDrvHash` for testing.
2023-08-30 07:53:05 +00:00
nicoo 7122aea569 fetchers: document fetchDebianPatch 2023-08-30 07:53:05 +00:00
github-actions[bot] e04d83dad1
Merge staging-next into staging 2023-08-30 00:02:26 +00:00
Artturi ffc35fc054
Merge pull request #245583 from galenhuntington/doc-fix 2023-08-29 22:46:56 +03:00
Alejandro Sánchez Medina 4c3def1ae8
doc manuals: change reference link to nixos-render-docs
Co-authored-by: Silvan Mosberger <github@infinisil.com>
2023-08-29 16:07:41 +02:00
github-actions[bot] 974a40b58e
Merge staging-next into staging 2023-08-28 18:01:36 +00:00
Jan Tojnar 434d160d7c
Merge pull request #234615 from linsui/dconf
nixos/dconf: support generating from attrs
2023-08-28 18:31:52 +02:00
Anderson Torres 8e93a78ef4 doc/hooks/waf.section.md: change wafHook to waf.hook 2023-08-26 13:12:09 +00:00
github-actions[bot] 4cdbb53d13
Merge master into staging-next 2023-08-26 12:01:05 +00:00
markuskowa 212d454c2a
Merge pull request #246867 from markuskowa/add-mpi-hook
add mpiCheckPhaseHook
2023-08-26 11:54:56 +02:00
Kasper Gałkowski 827b70a9b4 doc/lisp: document arguments of buildASDFSystem 2023-08-25 22:20:46 +02:00
Kasper Gałkowski 9ce6e34ddf doc/lisp: add links to sections and upstream websites
Also clean up complex paragraphs and fix section on building wrappers
2023-08-25 21:35:34 +02:00
Kasper Gałkowski b991ea8385 doc/lisp: clarify section on importing from Quicklisp
1. Clarify what is the reason for importing and to where it saves
2. Clarify that packages.sqlite is a temporary file
3. Link to section about native dependencies from first mention of ql.nix
2023-08-25 21:00:39 +02:00
github-actions[bot] 8680fe99a1
Merge master into staging-next 2023-08-25 12:01:24 +00:00
Lin Jian 665651c736 emacs: remove outdated doc about package initialization
Since Emacs 27[1], there is no need to call package-initialize in the
init file.

[1]: https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS.27?id=cae528457cb862dc886a34240c9d4c73035b6659#n227
2023-08-25 10:22:30 +00:00
Lin Jian 71a8753134 emacs: update doc about emacs.pkgs.withPackages 2023-08-25 10:22:30 +00:00
Alejandro Sanchez Medina 60d879e257 doc manuals: add reference to nixos-render-docs 2023-08-24 19:24:07 +02:00
Mario Rodas e095804702 wafHook: fix missing header id 2023-08-24 04:20:00 +00:00
Kasper Gałkowski 952781729f doc/lisp: minor changes to manual 2023-08-23 19:01:16 +02:00
Markus Kowalewski 587a19e43c mpiCheckPhaseHook: add new setup hook for MPI aware check phases
Add this hook to checkPhase to allow for running MPI application in
the sandbox. It detects the MPI implementations and sets the respective
environment variables.
2023-08-22 23:27:47 +02:00
github-actions[bot] 7946d3b039
Merge staging-next into staging 2023-08-21 18:01:26 +00:00
Valentin Gagarin e9ad5bd174
Merge pull request #249105 from NickHu/document-nix-update-script 2023-08-21 18:54:21 +02:00
Daniel Nagy f58a6078fa
chickenPackages: turn into scope
The purpose of this change is to allow the overriding of one egg, which in turn
affects all dependents of that eggs.
2023-08-21 17:00:00 +02:00
Alejandro Sanchez Medina 13e4891d6d nixpkgs manual: doc python: render manual notes as admonitions 2023-08-21 16:02:34 +02:00
Theodore Ni ece0953571
Merge branch 'staging-next' into staging 2023-08-18 16:02:27 -07:00
Alejandro Sánchez Medina 8cd56a3b7a
Documentation: nixpkgs manual: move Python reference to the top of Python chapter (#247117)
* nixpkgs manual, doc Python: move Reference/Optimizations to FAQ

See https://github.com/NixOS/nixpkgs/issues/246234.

* nixpkgs manual, doc Python: move Reference/python-optional-dependencies to FAQ

See https://github.com/NixOS/nixpkgs/issues/246234.

* nixpkgs manual, doc Python: move Reference/Tools to FAQ

See https://github.com/NixOS/nixpkgs/issues/246234.

* nixpkgs manual, doc Python: move Reference/deterministic-builds to FAQ

See https://github.com/NixOS/nixpkgs/issues/246234.

* nixpkgs manual, doc Python: move Reference/automatic-tests to FAQ

See https://github.com/NixOS/nixpkgs/issues/246234.

* nixpkgs manual, doc Python: move Reference to top section

See https://github.com/NixOS/nixpkgs/issues/246234.
2023-08-17 14:45:29 +02:00
mdarocha a36883ddfe maintainers: add dotnet team 2023-08-16 08:49:08 +02:00
linsui da614d98e9 lib/gvariant: init 2023-08-15 19:20:39 +08:00
Nick Hu ae8aba3836
doc/stdenv/stdenv.chapter.md: add information about nix-update-script and nixpkgs-update 2023-08-15 10:13:39 +01:00
github-actions[bot] 0ce93b670f
Merge staging-next into staging 2023-08-15 00:02:28 +00:00
Silvan Mosberger 50d11650a7
Merge pull request #245243 from tweag/contributing-combining
Clean up contributing documentation
2023-08-14 21:06:06 +02:00
github-actions[bot] af2c148bc3
Merge staging-next into staging 2023-08-14 18:01:33 +00:00
Artturin b93da3f4b7 treewide: overrideScope' -> overrideScope
`lib.makeScope` `overrideScope'` has been renamed to `overrideScope`

`fd --type f | xargs sd --string-mode "overrideScope'" "overrideScope"`
2023-08-14 18:46:47 +03:00
Silvan Mosberger 553daaed73 doc/README.md: Cleanup 2023-08-14 04:46:16 +02:00
Silvan Mosberger 37968083e7 CONTRIBUTING.md: Move opening issues section to Nixpkgs manual
This isn't relevant to contributors specifically, it applies to all
users
2023-08-13 22:04:57 +02:00
Silvan Mosberger 549ecbc977 doc: Add empty development section 2023-08-13 22:04:56 +02:00
Silvan Mosberger 129da60f57 doc/vulnerability-roundup: Rough move to new contribution doc files
No content was changed, new titles are wrapped with () to signal that
they will need to be decided on in a future commit.

Section in the manual have been preserved with a simple redirect to
GitHub, the proper anchors should be filled out in a future commit once
the new section names are decided.
2023-08-13 22:04:56 +02:00
Silvan Mosberger 86f14e461e doc/submitting-changes: Rough move to new contribution doc files
No content was changed, new titles are wrapped with () to signal that
they will need to be decided on in a future commit.

Section in the manual have been preserved with a simple redirect to
GitHub, the proper anchors should be filled out in a future commit once
the new section names are decided.
2023-08-13 22:04:56 +02:00
Silvan Mosberger f3a050a191 doc/reviewing-contributions: Rough move to new contribution doc files
No content was changed, new titles are wrapped with () to signal that
they will need to be decided on in a future commit.

Section in the manual have been preserved with a simple redirect to
GitHub, the proper anchors should be filled out in a future commit once
the new section names are decided.
2023-08-13 22:04:56 +02:00
Silvan Mosberger 90bf25d037 doc/quick-start: Rough move to new contribution doc files
Section in the manual have been preserved with a simple redirect to
GitHub, the proper anchors should be filled out in a future commit once
the new section names are decided.
2023-08-13 22:04:56 +02:00
Silvan Mosberger 74b17a515f doc/contributing-to-documentation: Rough move to new contribution doc files
Section in the manual have been preserved with a simple redirect to
GitHub, the proper anchors should be filled out in a future commit once
the new section names are decided.
2023-08-13 22:04:55 +02:00
Silvan Mosberger 1e1cd398d4 doc/coding-conventions: Rough move to new contribution doc files
No content was changed, new titles are wrapped with () to signal that
they will need to be decided on in a future commit.

Section in the manual have been preserved with a simple redirect to
GitHub, the proper anchors should be filled out in a future commit once
the new section names are decided.
2023-08-13 22:02:34 +02:00
Silvan Mosberger d70091c3ad Create unified markdown files for contributing docs 2023-08-13 21:54:50 +02:00
Silvan Mosberger be26d79f46 doc/contributing: Remove unreferenced legacy diagram
Not used anymore after b3fa79bb89
2023-08-13 21:54:50 +02:00
Anderson Torres b5549d90f2 wafHook: documentation
A very comprehensive one!
2023-08-13 03:23:09 +00:00
Silvan Mosberger bfe04ea76c
Merge pull request #241656 from mobusoperandi/update-doc-contributing
fix outdated contributing to documentation
2023-08-10 17:15:05 +02:00
Silvan Mosberger 731c21db95
Update doc/contributing/contributing-to-documentation.chapter.md
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2023-08-10 16:12:07 +02:00
Silvan Mosberger 37ba768fb4
Merge pull request #241871 from mobusoperandi/doc-doc-syntax-chapter
doc syntax section into chapter, link from nixos manual
2023-08-10 16:11:25 +02:00
figsoda 59eb02116f treewide: use zig_0_11 instead of zig for zig packages
Zig is still under active development, and new releases often introduce
breaking changes. This makes updating the default version of zig easier.

Some packages did not receive this change because they could be using
the c compiler or linker of zig, which doesn't receive as much breaking
changes compared to e.g. the zig std library.

https://github.com/NixOS/nixpkgs/pull/248243#discussion_r1289401340
2023-08-10 02:37:53 +00:00
figsoda 17d404ee80 zig.hook: rename from zigHook
This makes using specific versions of zig easier (without overrides)
2023-08-10 02:37:53 +00:00
sternenseemann af60e68744 testers.hasPkgConfigModules: allow checking multiple pkg-config mods
This is very useful in conjunction with meta.pkgConfigModules, as the
new tester can use the list provided by this meta attribute as a default
value for moduleNames, making its usage in passthru.tests very
convenient.

For backwards compatibility, a shim under the old name is maintained
with a warning.
2023-08-08 19:16:48 +02:00
github-actions[bot] 4507a6bd1f
Merge master into staging-next 2023-08-08 00:01:49 +00:00
Alejandro Sánchez Medina c72480119a
nixpkgs manual, doc Python: render interpreters in a table (#246956)
* nixpkgs manual, doc Python: render interpreters in a table

The current paragraph presenting Python interpreters is verbose and hinders clarity. The information provided is well suited to be rendered as a table.

Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>

* nixpkgs manual, doc Python: fix typos in interpreters' table

* nixpkgs manual, doc Python: update header in interpreters' table

* nixpkgs manual, doc Python: get rid of empty block code workaround in interpreters' table

---------

Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>
2023-08-07 23:48:22 +02:00
Vladimír Čunát 3a5c176f95
Merge branch 'master' into staging-next 2023-08-05 07:40:22 +02:00
Dmitry Kalinkin aa725d5a5b
Merge pull request #225503 from xworld21/texlive-binaries-from-tlpdb
texlive: generate bin containers from tlpdb
2023-08-04 22:31:30 -04:00
github-actions[bot] 16547be5c0
Merge master into staging-next 2023-08-05 00:02:07 +00:00
Artturin 61c0ecea5b treewide: update mainProgram docs 2023-08-04 20:31:16 +03:00
github-actions[bot] 0542af4e29
Merge master into staging-next 2023-08-04 00:02:04 +00:00
Jan Malakhovski ccbb065c88 doc: make sourceRoot and setSourceRoot documentation match the implementation, fix examples 2023-08-03 16:32:05 +00:00
Alejandro Sanchez Medina b751910048 fix outdated contributing to documentation
Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>
2023-08-03 13:21:48 +02:00
Vladimír Čunát 55f778d2b5
Merge branch 'master' into staging-next 2023-08-01 18:22:43 +02:00
Weijia Wang 1da4ff5585
Merge pull request #240553 from tomodachi94/doc/prefer-maven.buildPackage
doc/maven: prefer maven.buildMavenPackage over mvn2nix
2023-08-01 17:36:03 +02:00
Weijia Wang 3bf9e65881 doc/maven: add stable-maven-plugins back 2023-08-01 16:00:52 +02:00
Doron Behar cc63e791bf Merge branch 'master' into staging-next
* master: (77 commits)
  containerd: 1.7.2 -> 1.7.3
  python310Packages.transformers: 4.30.2 -> 4.31.0
  plasma-sdk: unbreak build, again
  stellarium: add patch for indi 2.0 compatibility
  indi-full: 1.9.8 -> 2.0.2, reenable Atik, Pentax and SX drivers
  indilib: 1.9.8 -> 2.0.2
  plasma: 5.27.6 -> 5.27.7
  alsa-scarlett-gui: light refactoring
  alsa-scarlett-gui: Change icons path back to relative in desktop entry file
  alsa-scarlet-gui: light refactoring Done some light refactoring for better consitence in the code.
  alsa-scarlett-gui: fix for deskop integration
  alsa-scarlett-gui: fixed desktop entry
  release-notes: note breaking woodpecker update
  woodpecker-*: 0.15.11 -> 1.0.0
  pnpm-lock-export: use fork with v6 support
  suricata: 6.0.13 -> 7.0.0
  rubyfmt: add support for macos arm64/x86
  rubyfmt: init at 0.8.1
  dayon: init at 11.0.7
  nixos/atuin: harden systemd unit
  ...
2023-08-01 16:52:24 +03:00
Anderson Torres 130d2fa5e5 doc/hooks/index.md: add zig.section.md
A somewhat short documentation about zigHook.
2023-08-01 10:08:55 +00:00
Tomo 48bbc6d964 doc/maven: prefer maven.buildMavenPackage over mvn2nix
Manually calling `mvn2nix` was the preferred way of building
Java apps that use Maven, but `maven.buildMavenPackage` is now the
preferred way.
2023-08-01 10:19:26 +02:00
Martin Weinelt 167f6dfee4
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/libraries/science/astronomy/cfitsio/default.nix
2023-07-30 03:54:27 +02:00
pennae dcd55915ad
Merge pull request #245358 from asymmetric/nixpkgs-doc-build-instructions
doc/contributing: update build instructions after nrd
2023-07-29 23:22:43 +02:00
Vincenzo Mantova 01af940407 texlive.combine: include packages with man pages by default 2023-07-29 18:31:17 +02:00
Doron Behar 6560d0086c python3.pkgs.pypaBuildHook: init 2023-07-28 12:13:25 +02:00
Doron Behar 1298c367b1 pip-build-hook.sh: Support $pipBuildFlags 2023-07-28 12:13:25 +02:00
Doron Behar 5262a7d1c9 doc/python: Demonstrate how to override the blas implementation 2023-07-28 12:13:25 +02:00
Silvan Mosberger a7e5800273
Merge pull request #243062 from mobusoperandi/doc_watchexec
nixpkgs/NixOS manuals: devmode feature
2023-07-27 16:11:18 +02:00
Galen Huntington b0dc3d26f2
doc/stdenv: Minor syntax fix. 2023-07-26 12:15:32 -07:00
Connor Baker 495875182e
Merge pull request #224068 from SomeoneSerge/respect-config-cudaSupport
Respect global config.cudaSupport
2023-07-25 14:18:14 -04:00
Lorenzo Manacorda 35471bd134 doc/contributing: update build instructions
We have moved away from Make since nixos-render-docs was introduced to
build the nixpkgs manual in #239636.
2023-07-25 15:26:18 +02:00
Shahar "Dawn" Or a064709342 nixpkgs/NixOS manuals: devmode feature
Co-authored-by: Alejandro Sanchez Medina <alejandrosanchzmedina@gmail.com>
2023-07-25 17:03:15 +07:00
Alejandro Sanchez Medina 13aeddb926 nixpkgs manual: extract some build paths
Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>
2023-07-25 17:00:51 +07:00
asymmetric 46df012d2a
Merge pull request #244332 from SuperSandro2000/fonts-fonts
nixos/fonts: rename fonts.fonts option to fonts.packages, other cleanups
2023-07-25 09:49:25 +02:00
Martin Weinelt f00b8343d2
Merge pull request #243848 from SuperSandro2000/clarify-python-tools
docs/python: clarify allowance of using toosl to autogenerate packages
2023-07-24 20:16:07 +02:00
Sandro Jäckel b0c67b4b6e
treewide: rename fonts.fonts to fonts.packages 2023-07-24 17:34:39 +02:00
Sandro Jäckel 0a47d54801
docs/python: clarify allowance of using toosl to autogenerate packages 2023-07-24 16:41:08 +02:00
github-actions[bot] 41e6556ad3
Merge master into staging-next 2023-07-22 18:01:06 +00:00
Paul Colomiets 366404a9d3 Remove tailhook from maintainers 2023-07-22 14:11:29 +03:00
Someone Serge 133993211b
config.cudaSupport: init option 2023-07-20 17:57:31 +03:00
Someone Serge a17baa5db4
doc: update #cuda to reflect the recommended config.cudaSupport style 2023-07-20 17:27:07 +03:00
github-actions[bot] 2c5b83e75c
Merge master into staging-next 2023-07-19 18:01:04 +00:00
Theodore Ni 9d55df7a37
docs/contributing: fix "ha256" -> "sha256" typo 2023-07-18 16:55:32 -07:00
github-actions[bot] 034c3854f0
Merge staging-next into staging 2023-07-16 18:01:40 +00:00
Robert Hensing 12d2f0da28
Merge pull request #240136 from NixOS/doc-review-patches
doc/reviewing-contributions: Add points about patches
2023-07-16 14:21:17 +02:00
Jan Tojnar cea188cbbb Merge branch 'staging-next' into staging
Conflicts:
 - pkgs/tools/networking/shadowfox/default.nix between e989daa65f and 1c29673fcc
 - pkgs/tools/networking/wuzz/default.nix between 7d80417710 and 1c29673fcc
2023-07-16 02:20:49 +02:00
maralorn 85331ccd98
doc/../haskell.section.md: Make a bit clearer and more beginner friendly 2023-07-15 02:18:29 +02:00
Artturin 1c29673fcc treewide: go-modules -> goModules
In 787af0f79f
I had to change ${go-modules} to $goModules to allow overrideAttrs to work;
However, env vars cannot contain -, so  i had to change go-modules too.
This in turn broke nix-update because it uses the go-modules attr.

Instead of making nix-update more complicated, make go-modules naming match cargoDeps.

`fd --type f | xargs sd '\bgo-modules\b' 'goModules'`
and revert change to pkgs/applications/misc/dstask/default.nix
and pkgs/servers/http/dave/default.nix
and pkgs/os-specific/darwin/plistwatch/default.nix

release note added
2023-07-14 00:18:06 +03:00
Alejandro Sanchez Medina ad224d61d0 nixos manual contributing link to nixpkgs syntax
Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>
2023-07-10 15:56:42 +07:00
Matthieu Coudron 34b3a809ef buildLuarocksPackage: rename file to match its role 2023-07-10 10:34:34 +02:00
Robert Hensing e809af74eb
Merge pull request #242312 from NixOS/doc-lib-render-fixedPoints
doc: Render lib.fixedPoints
2023-07-08 19:57:44 +02:00
Robert Hensing aa1beb0ab5 doc: Render lib.fixedPoints 2023-07-08 18:46:08 +02:00
Atemu 67eec418ab
Merge pull request #240860 from Atemu/fhsenv-no-multiarch
buildFHSEnv: disable multiArch by default
2023-07-08 13:53:41 +02:00
Mario Rodas 43b091f45c
Merge pull request #233804 from lilyinstarlight/feature/npm-workspaces
buildNpmPackage: add npmWorkspace and npmPruneFlags args
2023-07-08 06:45:46 -05:00
Michael Hoang edef486898 darwin.linux-builder: rename from darwin.builder 2023-07-06 21:33:09 +10:00
Michael Hoang 285f5e858e darwin.builder: use port 31022 by default 2023-07-06 21:32:08 +10:00
pennae 06140b7ecf
Merge pull request #239636 from pennae/nixpkgs-manual-nrd
doc: dedocbookify nixpkgs manual
2023-07-03 20:48:23 +02:00
pennae fc1b58b593 doc: inline doc-support to main drv
separating function docs out like this makes it less clear how library
documentation is generated and integrated into the build. if in the
future more parts of nixpkgs use nixdoc it will make sense to have all
information about library doc generation in the same place.
2023-07-01 20:59:30 +02:00
pennae 70cbd8c6c0 doc: pull option docs out of doc-support
this leaves doc-support as a simple wrapper around function docs. this
wrapper will go away very soon as well.
2023-07-01 20:59:30 +02:00
pennae f397309f4e doc: remove remnants of docbook times
all xml-related tooling can go away. shell.nix is no longer useful since
the makefile is gone and the build runs entirely via a derivation, and
gitignore is thus also no longer that useful. it may filter out some
swap files, but its main reason to exist (keeping generated files out of
a concurrent build of the derivation) has gone away.
2023-07-01 20:59:30 +02:00
pennae be4d19ff1a doc: render nixpkgs manual with nrd
also updates nixdoc to 2.3.0. the nixdoc update is not a separate commit
because that would leave the manual build broken for one commit,
potentially breaking bisects and rebases.
2023-07-01 20:59:29 +02:00
pennae b521f451a3 doc-support: don't expose locationsXml
nothing except function docs uses this, so we need not expose it. we'll
be reworking this entire section of the build anyway, with the target of
breaking up doc-support as it is now.
2023-07-01 20:27:29 +02:00
pennae a5414c29a0 doc: build placeholder epub in its own derivation
mostly to clean up the main manual build makefile and derivation a bit.
not technically necessary, but will make life easier later.
2023-07-01 20:27:29 +02:00
Robert Hensing 1f5a0b0135
Merge pull request #239005 from Artturin/setorfunoverr
stdenv: let overrideAttrs accept attrset OR function
2023-07-01 15:27:23 +02:00
Robert Hensing 0c9fb905cb
doc/using/overrides: Relate addition to preceding text 2023-07-01 15:25:17 +02:00
Atemu 62b2adc753 buildFHSEnv: add multiArch flag
The intention is to allow the user control over whether 32bit deps are supposed
to be included in the fhsenv
2023-07-01 13:41:14 +02:00
Artturin fb643f3260 doc/using/overrides: it is possible to use previous arguments in .override 2023-06-30 23:28:00 +03:00