Commit graph

583337 commits

Author SHA1 Message Date
Robert Hensing
35fe538330
types.attrTag: Remove unnecessary definitions override
Committing because tests pass.

Co-authored-by: Silvan Mosberger <github@infinisil.com>
2024-04-04 13:00:19 +02:00
Robert Hensing
22d7f146a4 lib.types.attrTag: Fix declarationPositions after merge 2024-04-04 12:56:56 +02:00
Robert Hensing
cf4968a904 lib/tests/modules/types-attrTag.nix: Test other option doc attrs 2024-04-04 12:22:08 +02:00
Robert Hensing
74831d8b38 lib/tests/modules/types-attrTag.nix: Clean up unneeded comment 2024-04-04 12:00:55 +02:00
Robert Hensing
f354686536 doc/option-types: Update sum types 2024-04-04 12:00:54 +02:00
Robert Hensing
2d791b5f7b types.attrTag: Remove substSubmodules
I haven't managed to trigger the error, and it turns out that this
method is optional.
Specifically, getSubmodules is unimplemented (and unimplementable),
the tests pass, and we seem to have good location info.
2024-04-04 12:00:54 +02:00
Robert Hensing
47e4a18d01 types.attrTagWith: remove
Keep it simple for now.
2024-04-04 12:00:54 +02:00
Robert Hensing
1465777b63 lib.types.attrTag: Custom error when passing bare type 2024-04-04 11:54:46 +02:00
Robert Hensing
bcd774606a lib/tests/modules/types-attrTag: Test against unexpected attrs
Thank you lheckemann for pointing this out!
2024-04-04 11:54:46 +02:00
Robert Hensing
fa8b46adf4 doc/option-types: Make attrTag example self-contained
... well, except for the ellipses, which hide unnecessary descriptions,
which you should write!
2024-04-04 11:54:46 +02:00
Robert Hensing
c0f54d3dea doc/option-types: Add attrTag example 2024-04-04 11:54:46 +02:00
Robert Hensing
475a55b2f0 lib.types.attrTag: Remove tags from description
You can find them in the sub-options now.
2024-04-04 11:54:46 +02:00
Robert Hensing
2e1d470569 lib.modules.evalOptionValue: Undeprecate for lib.types
lib.types.attrTag needs it.
2024-04-04 11:54:46 +02:00
Robert Hensing
4c7d990bad lib.types.attrTag: Provide declarations, definitions 2024-04-04 11:54:45 +02:00
Robert Hensing
e090bb55f0 lib/types.nix: Fix getSubOptions doc
This comment was added in 73f32d0375, when it was already
supposed to be an attrset.
2024-04-04 11:54:45 +02:00
Robert Hensing
0bc9783221 lib.types.attrTag: Support type merging 2024-04-04 11:54:45 +02:00
Robert Hensing
42d3b54f0d lib.types.attrTag: Take options instead of types 2024-04-04 11:54:45 +02:00
Robert Hensing
5b49672af4 lib.types.attrTag: Support module docs 2024-04-04 11:54:41 +02:00
Robert Hensing
6949bc21ce doc/option-types: Move nullOr to Union types 2024-02-11 18:45:16 +01:00
Robert Hensing
1ad30772ea doc/option-types: Move attrTag to Sum types, remove redundant paragraph 2024-02-11 18:45:15 +01:00
Robert Hensing
2ceb5558f9 doc/option-types: Move either and oneOf to Union types 2024-02-11 18:45:15 +01:00
Robert Hensing
0feea2dbd2 doc/option-types: Write about sum and union types 2024-02-11 18:45:15 +01:00
Robert Hensing
ca81a89839 lib.types.attrTag: init 2024-02-11 18:44:52 +01:00
Emily
80afdbf97f
Merge pull request #287589 from networkException/pinecone
pinecone: init at 0.11.0-unstable-2023-08-10
2024-02-11 18:40:23 +01:00
Robert Hensing
fd6ea004a0
Merge pull request #274404 from r-ryantm/auto-update/ghostunnel
ghostunnel: 1.7.1 -> 1.7.3
2024-02-11 18:28:49 +01:00
Jakub Kozłowski
a498f11fa5
Merge pull request #273798 from kingarrrt/tmux-thumbs
tmuxPlugins.tmux-thumbs: 0.7.1 -> 0.8.0
2024-02-11 18:23:35 +01:00
Maximilian Bosch
3f8ecdfda5
Merge pull request #287995 from r-ryantm/auto-update/yamlfmt
yamlfmt: 0.10.0 -> 0.11.0
2024-02-11 18:23:03 +01:00
Fabian Affolter
39d456753c
Merge pull request #288054 from r-ryantm/auto-update/python311Packages.google-cloud-os-config
python311Packages.google-cloud-os-config: 1.17.0 -> 1.17.1
2024-02-11 18:20:49 +01:00
Mateus Alves
e05648ed37
vimPlugins.ultimate-autopair: init at 2024-02-10 (#287913) 2024-02-11 18:18:54 +01:00
Someone
f12c567b0d
Merge pull request #288030 from GaetanLepage/obs-do
obs-do: 0.1.0 -> 0.1.1
2024-02-11 17:18:08 +00:00
Maximilian Bosch
417fdb06d7
Merge pull request #287856 from emilylange/nixos-gitea-package-forgejo-warning
nixos/gitea: warn when using `services.gitea` with forgejo
2024-02-11 18:06:05 +01:00
Weijia Wang
464391cb6d
Merge pull request #288038 from Aleksanaa/ghfetch
ghfetch: init at 0.0.19
2024-02-11 18:05:47 +01:00
Thomas Gerbet
c9541aced4
Merge pull request #288044 from OPNA2608/update/palemoon-bin
palemoon-bin: 32.5.2 -> 33.0.0
2024-02-11 18:02:22 +01:00
Martin Weinelt
d08d996a52
Merge pull request #287897 from patka-123/python311Packages-sv-ttk
python311Packages.sv-ttk: fix build
2024-02-11 17:48:43 +01:00
markuskowa
0db2b0471e
Merge pull request #287996 from r-ryantm/auto-update/spglib
spglib: 2.3.0 -> 2.3.1
2024-02-11 17:14:28 +01:00
Weijia Wang
44fea95b02
Merge pull request #287921 from wegank/htcondor-broken
htcondor: mark as broken on aarch64-linux
2024-02-11 17:04:50 +01:00
Mario Rodas
98ddefa0e1
Merge pull request #286359 from bcdarwin/update-python3-xarray
python311Packages.xarray: 2023.11.0 -> 2024.1.1
2024-02-11 10:33:14 -05:00
Mario Rodas
4e37a233b7
Merge pull request #283019 from bcdarwin/update-mne
python311Packages.mne-python: 1.6.0 -> 1.6.1; unbreak
2024-02-11 10:32:24 -05:00
Ryan Lahfa
78ca947399
Merge pull request #287783 from RaitoBezarius/take-kernel-codeowner-tmp
CODEOWNERS: add raitobezarius on the linux kernel
2024-02-11 16:31:13 +01:00
Nick Cao
2b6f520af0
Merge pull request #288022 from r-ryantm/auto-update/phrase-cli
phrase-cli: 2.21.2 -> 2.22.0
2024-02-11 10:24:32 -05:00
Nick Cao
3edaf54fb8
Merge pull request #288024 from r-ryantm/auto-update/home-manager
home-manager: unstable-2024-02-06 -> unstable-2024-02-11
2024-02-11 10:24:12 -05:00
Nick Cao
2c876cd03c
Merge pull request #288004 from r-ryantm/auto-update/croc
croc: 9.6.8 -> 9.6.9
2024-02-11 10:23:47 -05:00
Nick Cao
9714d46636
Merge pull request #288006 from r-ryantm/auto-update/runme
runme: 2.2.5 -> 2.2.6
2024-02-11 10:23:16 -05:00
Nick Cao
14bb942949
Merge pull request #288007 from r-ryantm/auto-update/vcpkg-tool
vcpkg-tool: 2024-02-05 -> 2024-02-07
2024-02-11 10:23:05 -05:00
Nick Cao
c12cb6d559
Merge pull request #288008 from r-ryantm/auto-update/semantic-release
semantic-release: 23.0.1 -> 23.0.2
2024-02-11 10:22:50 -05:00
Nikolay Korotkiy
9b7c8df897
Merge pull request #287757 from Ligthiago/sttr
sttr: init at 0.2.18
2024-02-11 19:19:27 +04:00
Nick Cao
dc4db874a0
Merge pull request #288017 from trofi/vowpal-wabbit-gcc-13-fix
vowpal-wabbit: fix `gcc-13` build failure
2024-02-11 10:18:31 -05:00
Nick Cao
70fa76eedb
Merge pull request #288045 from r-ryantm/auto-update/emplace
emplace: 1.5.2 -> 1.5.3
2024-02-11 10:16:45 -05:00
Nick Cao
ddc385f4b0
Merge pull request #287997 from trofi/the-powder-toy-gcc-13-fix
the-powder-toy: fix `gcc-13` build failure
2024-02-11 10:11:56 -05:00
Nick Cao
ed9b0e872a
Merge pull request #287994 from r-ryantm/auto-update/xmousepasteblock
xmousepasteblock: 1.3 -> 1.4
2024-02-11 10:11:17 -05:00