Jan Tojnar
5810109b42
Merge branch 'staging-next' into staging
...
- readline6 attribute removed from all-packages.nix in d879125d61
- readline attribute was bumped to readline82 in 50adabdd60
2023-01-02 03:04:32 +01:00
Naïm Favier
161f6dbf59
Merge pull request #204840 from ncfavier/check-meta-deep
2023-01-01 14:30:12 +01:00
Naïm Favier
8796411139
Merge pull request #208176 from ncfavier/markdown-no-trailing
2023-01-01 14:15:05 +01:00
Naïm Favier
4df10debe7
lib/customisation.overrideDerivation: propagate evaluation condition
...
The new derivation should evaluate only if the old derivation does.
Sadly this means that the old derivation cannot depend on the new one
any more, which was used by xorgserver on Darwin. But this is not a
problem as `overrideAttrs` can (and should) usually be used instead.
This change allowed catching an invalid `meta.platforms` in the linux_rpi
kernels, which use `overrideDerivation`.
2023-01-01 14:10:42 +01:00
Gabriella Gonzalez
930b0dfbc1
darwin.builder: Remove trailing '
from host key
...
The trailing `'` was included by mistake and is not supposed
to be there:
```ShellSession
$ base64 -w0 /etc/ssh/ssh_host_ed25519_key.pub
c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSUpCV2N4Yi9CbGFxdDFhdU90RStGOFFVV3JVb3RpQzVxQkorVXVFV2RWQ2Igcm9vdEBuaXhvcwo=
```
The reason it did not cause issues before is because
Nix ignores everything after the `=`:
3dbf9b5af5/src/libutil/util.cc (L1539-L1540)
… so it's harmless but still worth fixing.
2022-12-29 07:19:16 -06:00
Naïm Favier
22ea90a4d8
.editorconfig: apply trailing whitespace removal
...
editorconfig-checker -disable-indent-size **/*.md
2022-12-29 01:40:50 +01:00
Sergei Trofimovich
092d57c076
Merge remote-tracking branch 'origin/staging-next' into staging
...
Conflicts:
pkgs/development/tools/language-servers/ansible-language-server/default.nix
2022-12-28 09:35:37 +00:00
Naïm Favier
3f6fed2e59
doc,nixos/doc: unescape ellipses
...
Leftovers from the CommonMark conversion.
2022-12-27 17:13:49 +01:00
Naïm Favier
e9e65810ac
doc,nixos/doc: unescape double quotes
...
Leftovers from the CommonMark conversion.
2022-12-27 17:13:49 +01:00
Naïm Favier
d11832fd96
doc,nixos/doc: unescape apostrophes
...
Leftovers from the CommonMark conversion.
2022-12-27 17:13:47 +01:00
Jörg Thalheim
ea415d1a38
Merge pull request #207038 from NixOS/make-disk-image-for-uefi
...
make-disk-image: documentation, UEFI variables recording, improved determinism
2022-12-26 11:02:28 +00:00
figsoda
b6c0e7f563
Merge pull request #205935 from figsoda/cargo-lock
...
rustPlatform.importCargoLock: add allowBuiltinFetchGit option
2022-12-25 19:38:36 -05:00
Anderson Torres
593381845f
doc/contributing/coding-conventions: add subsection for language servers
2022-12-25 10:57:29 -03:00
Jan Tojnar
72c37eddec
Merge branch 'staging-next' into staging
2022-12-25 01:30:47 +01:00
Raito Bezarius
22adcaa449
nixos/lib/make-disk-image: docs, UEFI vars recording, more determinism
...
- Extensive documentation in NixOS manual
- Deterministic mode that fixes various identifiers relative to disk
partitions and filesystems in ext4 case
- UEFI variable recording
2022-12-24 19:15:29 +01:00
Robert Hensing
84c1409627
Merge pull request #207268 from ncfavier/systemd-scriptArgs
...
nixos/systemd: document what `scriptArgs` is for
2022-12-23 01:20:44 +01:00
Naïm Favier
feb9ba5839
doc/link-unix-man-references: add a bunch of systemd pages
2022-12-22 16:03:31 +01:00
Naïm Favier
5782c3d802
doc/lib-functions: print libset name before description
2022-12-22 11:31:11 +01:00
Naïm Favier
ce952286ca
doc/lib-functions: preserve libsets order
2022-12-22 11:31:11 +01:00
Naïm Favier
e1bb8f1e74
doc/lib-functions: add versions
, cli
2022-12-22 11:31:11 +01:00
Naïm Favier
8906aa28e4
doc/lib-functions: remove warnings
...
Building the nixpkgs manual currently triggers a bunch of deprecation
warnings, because every attribute in `lib` is evaluated to see if it's
an attrset to generate locations for.
Instead, share the lib subsets to include in the documentation
between `lib-function-docs` and `lib-function-locations` so they can
coordinate.
Also generate the list of sections instead of duplicating it in
`library.xml`.
2022-12-22 11:31:08 +01:00
Domen Kožar
bcc8d11f01
Merge pull request #206951 from MercuryTechnologies/gabriella/macos-builder
...
darwin.builder: init
2022-12-21 12:20:12 +00:00
jakobkukla
ecdbd2a3fa
doc: remove missing arg from emulateApp example
2022-12-20 04:28:20 +01:00
Gabriella Gonzalez
44c6fdabc2
Add documentation
2022-12-19 17:03:45 -08:00
David McFarland
824d40aa04
build-dotnet-module: restore for current runtime by default
2022-12-19 15:36:25 -04:00
github-actions[bot]
dc7ebb0163
Merge staging-next into staging
2022-12-18 18:01:41 +00:00
figsoda
403e25e3e3
doc: fix typos
2022-12-17 18:21:48 -05:00
github-actions[bot]
4804305f6e
Merge staging-next into staging
2022-12-17 06:02:03 +00:00
Jason Miller
8392158289
cudaPackages: add cudaFlags ( #205351 )
...
* cudaPackages: add cudaFlags
* cudaNames -> cudaMicroarchitectureNames
* update documentation, remove config for static library removal
* doc link added to flags
* fix whitespace in assignment
2022-12-16 22:00:36 -08:00
Winter
f1292b31d6
doc/languages-frameworks/javascript: use --ignore-scripts flag in example
...
Presenting an example with a patch (without even providing that patch!) is not ideal. Since `npm pack` now obeys `--ignore-scripts`, we can use that instead.
2022-12-13 19:40:27 -05:00
figsoda
cce3dc63a0
rustPlatform.importCargoLock: add allowBuiltinFetchGit option
2022-12-13 11:27:26 -05:00
github-actions[bot]
8506553217
Merge staging-next into staging
2022-12-13 00:02:51 +00:00
Robert Hensing
a70a69156c
Merge pull request #205768 from hercules-ci/remove-numbers-from-manuals
...
doc: Remove all section numbers
2022-12-12 22:11:28 +01:00
Robert Hensing
c23666473c
doc: Remove all section numbers
...
Simplicity.
We use anchors nowadays. Nobody should be printing this.
2022-12-12 13:04:39 +01:00
github-actions[bot]
285157a0f9
Merge staging-next into staging
2022-12-11 06:01:42 +00:00
Robert Hensing
43dcea7885
Merge pull request #204626 from fricklerhandwerk/ifd-policy
...
document Import From Derivation (IFD) policy
2022-12-11 02:37:09 +01:00
Robert Hensing
16f5747575
Merge pull request #175649 from Artturin/opt-in-structured-attrs
...
stdenv: support opt-in __structuredAttrs
2022-12-10 21:12:43 +01:00
Valentin Gagarin
d9f9ead58a
Update doc/contributing/coding-conventions.chapter.md
...
Co-authored-by: Mostly Void <dit7ya@users.noreply.github.com>
2022-12-10 11:46:53 +01:00
Artturin
fda61e9066
add docs for prependToVar and appendToVar
2022-12-10 04:22:11 +02:00
Naïm Favier
4e5ebcc3ed
vim-full: rename from vim_configurable
...
Avoids confusion: `vim-full`'s build-time features are configurable, but both
`vim` and `vim-full` are *customizable* (in the sense of user configuration).
2022-12-09 09:55:55 +01:00
Valentin Gagarin
a2b6bd7b35
Merge pull request #126213 from ryantm/lib-doc-gen
...
doc: auto-generate asserts and attrset library docs
2022-12-09 09:33:35 +01:00
Robert Hensing
470e6fd1cd
Merge pull request #201902 from ck3mp3r/dockertools-architecture-in-config-200725
...
Adding ability to set image architecture when creating OCI images using DockerTools
2022-12-08 23:54:50 +01:00
Ryan Mulligan
ac1ae0a58e
doc: auto-generate asserts and attrset library docs
...
If all the docs are auto-generated, it should be easier to convert
them to Commonmark.
Co-Authored-By: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-Authored-By: Silvan Mosberger <contact@infinisil.com>
2022-12-08 22:58:22 +01:00
Jörg Thalheim
0b8b0c65cc
Merge pull request #205187 from Mic92/cue-validator
...
cue: init writeCueValidator
2022-12-08 21:38:55 +00:00
Raito Bezarius
f25d48180a
cue: add documentation on writeCueValidator
2022-12-08 22:19:06 +01:00
Christian Kemper
f6ae4479ea
dockerTools: allowing architecture to be specified
...
... for buildImage, buildLayeredImage and streamLayeredImage,
adding docs and tests.
2022-12-08 20:29:09 +01:00
zowoq
7d04753e2f
doc/go: fix link
2022-12-08 02:29:18 +10:00
Manuel
5d8e07c835
doc: add hint about lib.fakeSha256 to go section ( #204132 )
...
* doc: add hint about lib.fakeSha256 to go section
Found it here: https://stackoverflow.com/a/71934521/1633985
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-12-07 17:03:35 +01:00
Valentin Gagarin
db1a83aaa4
docs: fixup wording and formatting on JavaScript
2022-12-07 16:47:31 +01:00
Valentin Gagarin
53b5a47c12
document Import From Derivation (IFD) policy
2022-12-07 16:47:30 +01:00