Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from NixOS:master #187

Merged
merged 294 commits into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
294 commits
Select commit Hold shift + click to select a range
3deee92
openvpn: 2.5.8 -> 2.6.8
nevivurn Nov 17, 2023
3b570ab
python310Packages.habluetooth: update changelog entry
fabaff Dec 20, 2023
25d1a88
python310Packages.grad-cam: refactor
fabaff Dec 20, 2023
b3475a9
nixos/tests/btrbk-section-order.nix: fix test
symphorien Dec 20, 2023
2976f95
gdal: 3.8.1 -> 3.8.2
imincik Dec 20, 2023
db13dfb
python310Packages.justnimbus: 0.7.2 -> 0.7.3
r-ryantm Dec 20, 2023
b9b32ad
aacgain: use submodules, fix build
Dec 20, 2023
d9c6265
biber-for-tectonic: init at 2.17
bryango Dec 9, 2023
ab65e2d
mastodon: remove tools from propagatedBuildInputs
Izorkin Dec 20, 2023
8a0a8c7
nixos/mastodon: replace ffmpeg to ffmpeg-headless
Izorkin Dec 20, 2023
92238ac
tests.nixpkgs-check-by-name: Create script to run locally
infinisil Dec 16, 2023
9e03178
tests.nixpkgs-check-by-name: Add documentation for scripts
infinisil Dec 19, 2023
1ad45e5
workflows/check-by-name: Slim down and prepare for --base
infinisil Dec 16, 2023
1968bee
check-by-name: Pass --base in CI and local running script
infinisil Dec 19, 2023
f646aa4
python310Packages.lsprotocol: 2023.0.0b1 -> 2023.0.0
r-ryantm Dec 20, 2023
791dbe1
tetrio-desktop: add libGL to libPath
Kropatz Dec 20, 2023
84916d3
osu-lazer-bin: 2023.1218.1 -> 2023.1221.0
gepbird Dec 20, 2023
fb9b95c
osu-lazer: 2023.1218.1 -> 2023.1221.0
gepbird Dec 20, 2023
cfd3e90
python310Packages.mediapy: 1.1.9 -> 1.2.0
r-ryantm Dec 20, 2023
ff4573c
python310Packages.meshtastic: 2.2.12 -> 2.2.16
r-ryantm Dec 20, 2023
1bd1b47
python3Packages.django-anymail: fix package
sephii Dec 4, 2023
41d0fe9
python310Packages.mido: 1.3.0 -> 1.3.2
r-ryantm Dec 20, 2023
b5a4634
python310Packages.mkdocs-git-revision-date-localized-plugin: 1.2.1 ->…
r-ryantm Dec 20, 2023
630b4d7
vscode-extensions.github.copilot: 1.135.544 -> 1.143.601
drupol Dec 20, 2023
a73c752
python310Packages.ms-active-directory: 1.12.1 -> 1.13.0
r-ryantm Dec 20, 2023
2edc753
terrapin-scanner: 1.0.3 -> 1.1.0
LeSuisse Dec 20, 2023
98d33dc
wasmtime: 15.0.1 -> 16.0.0
ereslibre Dec 20, 2023
a18e7c6
python310Packages.msgspec: 0.18.4 -> 0.18.5
r-ryantm Dec 20, 2023
4727b43
epson-escpr2: add shawn8901 as maintainer
Shawn8901 Dec 20, 2023
03288b6
python311Packages.gflanguages: 0.5.10 → 0.5.13
danc86 Dec 20, 2023
d4c22f7
virtiofsd: 1.8.0 -> 1.9.0
astro Dec 20, 2023
f0fe2b3
python310Packages.nibe: 2.5.2 -> 2.6.0
r-ryantm Dec 20, 2023
0b338a0
ugrep: 4.3.6 -> 4.4.1
MikaelFangel Dec 20, 2023
a829f6b
glamoroustoolkit: 1.0.7 -> 1.0.9
r-ryantm Dec 21, 2023
9d7dc5e
vimPlugins: update on 2023-12-21
Dec 21, 2023
821543e
vimPlugins.nvim-treesitter: update grammars
Kranzes Dec 21, 2023
1ffe506
python310Packages.meraki: 1.39.0 -> 1.41.0
r-ryantm Dec 20, 2023
a1c1689
nfpm: 2.34.0 -> 2.35.0
r-ryantm Dec 21, 2023
b8563c7
cloudlogoffline: init at 1.1.4
2xsaiko Nov 28, 2023
f7c991b
linux/hardened/patches/4.19: 4.19.302-hardened1 -> 4.19.303-hardened1
fabianhjr Dec 21, 2023
0f17835
linux/hardened/patches/5.10: 5.10.204-hardened1 -> 5.10.205-hardened1
fabianhjr Dec 21, 2023
e26294b
linux/hardened/patches/5.15: 5.15.143-hardened1 -> 5.15.144-hardened1
fabianhjr Dec 21, 2023
226d754
linux/hardened/patches/5.4: 5.4.264-hardened1 -> 5.4.265-hardened1
fabianhjr Dec 21, 2023
8cfe06c
linux/hardened/patches/6.1: 6.1.68-hardened1 -> 6.1.69-hardened1
fabianhjr Dec 21, 2023
5de6afe
linux/hardened/patches/6.6: 6.6.7-hardened1 -> 6.6.8-hardened1
fabianhjr Dec 21, 2023
f356845
linux/hardened: condition DEBUG_CREDENTIALS to whenOlder than 6.6
fabianhjr Dec 21, 2023
a862901
aacgain: 2.0.0 -> 2.0.0-unstable-2022-07-12
Dec 20, 2023
184c4a6
hnswlib: 0.7.0 -> 0.8.0
natsukium Dec 21, 2023
ab7e23b
hnswlib: replace nativeBuildInputs with nativeCheckInputs
natsukium Dec 21, 2023
52bdb34
openvpn: fix tests and add to passthru.tests
nevivurn Dec 20, 2023
cd9fab1
linux_xanmod: 6.1.68 -> 6.1.69
zzzsyyy Dec 21, 2023
75643e1
linux_xanmod_latest: 6.6.7 -> 6.6.8
zzzsyyy Dec 21, 2023
0c18150
python311Packages.life360: 6.0.0 -> 6.0.1
fabaff Dec 21, 2023
9455b1d
python311Packages.sunweg: 2.0.0 -> 2.0.3
fabaff Dec 21, 2023
fd32059
nixos/nix-direnv: respect configured nix package
Mic92 Dec 20, 2023
b53efc7
Merge pull request #272050 from sephii/fix-django-anymail
onny Dec 21, 2023
2ce1ca3
python310Packages.oci: 2.117.0 -> 2.118.0
r-ryantm Dec 21, 2023
c01abe7
Merge pull request #270713 from 2xsaiko/outgoing/cloudlogoffline
Janik-Haag Dec 21, 2023
30f005e
translitcodec: init at 0.7.0
rycee Dec 20, 2023
71807ae
amphetype: init at 1.0.0
rycee Dec 20, 2023
62856d6
hdparm: add meta.mainProgram
Scrumplex Dec 19, 2023
7424210
portfolio: 0.65.6 -> 0.66.2
kilianar Dec 13, 2023
7ba3f23
portfolio: add kilianar as maintainer
kilianar Dec 13, 2023
061f344
didder: 1.2.0 -> 1.3.0
ehmry Dec 21, 2023
6adef17
Merge pull request #275722 from LeSuisse/terrapin-scanner-1.1.0
fabaff Dec 21, 2023
9a61df7
Merge pull request #275725 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
4ed04b6
Merge pull request #275707 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
27e4276
Merge pull request #275697 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
2ec5c2f
python311Packages.id: update disabled
fabaff Dec 21, 2023
66f6309
Merge pull request #275423 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
2869070
Merge pull request #275325 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
352d7ca
python311Packages.ms-active-directory: add changelog to meta
fabaff Dec 21, 2023
d72e3be
Merge pull request #275740 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
42943c0
checkov: 3.1.40 -> 3.1.41
fabaff Dec 21, 2023
940cb3b
python310Packages.google-cloud-iam-logging: update URLs
fabaff Dec 21, 2023
eafba49
python310Packages.google-cloud-videointelligence: update URLs
fabaff Dec 21, 2023
d5cde0e
Merge pull request #275533 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
9414deb
Merge pull request #275567 from r-ryantm/auto-update/cnquery
fabaff Dec 21, 2023
941f458
Merge pull request #275582 from r-ryantm/auto-update/cloudfox
fabaff Dec 21, 2023
d637162
Merge pull request #275593 from r-ryantm/auto-update/kube-bench
fabaff Dec 21, 2023
18527d1
Merge pull request #275549 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
842ba7e
Merge pull request #275713 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
542f2de
python310Packages.mido: add changelog to meta
fabaff Dec 21, 2023
916f4d6
Merge pull request #275704 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
09974e2
python310Packages.mediapy: refactor
fabaff Dec 21, 2023
3fcdbd3
Merge pull request #275591 from Mic92/nix-direnv-nixos
Mic92 Dec 21, 2023
d234866
Merge pull request #275545 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
808d2bd
Merge pull request #274346 from peterhoeg/f/mkvtoolnix
rnhmjoj Dec 21, 2023
278dc00
python310Packages.google-cloud-websecurityscanner: update URLs
fabaff Dec 21, 2023
98e7866
python310Packages.google-cloud-trace: update URLs
fabaff Dec 21, 2023
f4f5efe
python310Packages.google-cloud-texttospeech: update URLs
fabaff Dec 21, 2023
022c694
python310Packages.google-cloud-tasks: update URLs
fabaff Dec 21, 2023
9f9bced
python311Packages.gflanguages: refactor
fabaff Dec 21, 2023
83d7cce
Merge pull request #275700 from gepbird/osu-lazer-2023.1221.0
thiagokokada Dec 21, 2023
ad16ca9
Merge pull request #267261 from name-snrl/make-overriding-sway-packag…
thiagokokada Dec 21, 2023
cc76c0f
python311Packages.etils: update disabled
fabaff Dec 21, 2023
e1b7b95
Merge pull request #275302 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
ee28989
flutter: Build flutter_tools with buildDartApplication
hacker1024 Oct 22, 2023
3017004
flutter: Use deepClone = true for SDK repository
hacker1024 Oct 22, 2023
00a1127
flutter: Include patches in flutter_tools snapshot
hacker1024 Oct 22, 2023
175112a
flutter: Remove hard dependency on Git
hacker1024 Oct 22, 2023
e22019b
flutter: Allow overriding the FLUTTER_CACHE_DIR
hacker1024 Oct 22, 2023
075bbf4
flutter: Use custom launchers
hacker1024 Oct 22, 2023
ec0c30d
flutter: Specify commit date for fake SDK repository
hacker1024 Oct 22, 2023
2dc524e
flutter: Remove any existing Dart SDK
hacker1024 Oct 22, 2023
5f6d29a
flutter: Use JIT snapshot for flutter_tools
hacker1024 Oct 22, 2023
c3237a8
flutter: Remove JIT explanation
hacker1024 Oct 22, 2023
e13356d
flutter: Disable automatic updates without breaking precache
hacker1024 Oct 22, 2023
b63ffdd
flutter: Allow adding additional Dart VM options when launching CLI
hacker1024 Oct 22, 2023
59493e5
flutter: Deregister the Pub dependencies artifact
hacker1024 Oct 22, 2023
de1d809
flutter: Update FLUTTER_ROOT in SDK symlink derivation
hacker1024 Oct 22, 2023
44030b7
flutter: Fetch artifacts with `flutter prefetch`
hacker1024 Oct 22, 2023
b6a3ff8
flutter: Propagate .git in SDK symlink derivation
hacker1024 Oct 22, 2023
98e4fb2
flutter: Pass pubGetScript through to buildDartApplication
hacker1024 Oct 22, 2023
d331e2d
fetchDartDeps: Use given setup and Pub get script in dependency list …
hacker1024 Oct 22, 2023
75b809c
buildDartApplication: Add entire Dart derivation to nativeBuildInputs
hacker1024 Oct 22, 2023
623ac19
fetchDartDeps: Generalise dependency derivation logic
hacker1024 Oct 23, 2023
e99f590
fetchDartDeps: Pass through the dependency cache
hacker1024 Oct 23, 2023
0d82a38
fetchDartDeps: Add a package_config.json derivation
hacker1024 Oct 23, 2023
ef3625f
flutter: Link in the fluter_tools package_config.json
hacker1024 Oct 23, 2023
17a034d
flutter: Add platform artifact derivations to cacheDir passthru
hacker1024 Oct 23, 2023
c524427
flutter: Set host platform at compilation
hacker1024 Oct 23, 2023
c969311
flutter: Add artifact hashes for all platforms
hacker1024 Oct 23, 2023
456779e
flutter: Move artifact override logic to fetch-artifacts.nix
hacker1024 Oct 23, 2023
27f61f5
flutter: Remove existing .git directories
hacker1024 Oct 23, 2023
9818318
flutter: Remove runHooks in fetch-artifacts.nix runCommand
hacker1024 Oct 23, 2023
d8b20d9
flutter: Remove FLUTTER_CACHE_DIR
hacker1024 Oct 23, 2023
133d03e
flutter: Set FLUTTER_ALREADY_LOCKED to prevent writes to the immutabl…
hacker1024 Oct 24, 2023
03ae92a
flutter: Remove aarch64-darwin platform
hacker1024 Oct 24, 2023
145c291
fetchDartDeps: Use add milliseconds to date in package_config.json
hacker1024 Oct 24, 2023
20a9e5c
Merge pull request #275589 from Mic92/harmonia
Mic92 Dec 21, 2023
9e04679
flutter: dont fail on missing lockfile
mkg20001 Dec 21, 2023
8d102bc
python310Packages.oelint-parser: 2.12.0 -> 2.12.1
r-ryantm Dec 21, 2023
aeeb655
service buildkite-agent: make it possible add groups to agent users
asmundo Dec 1, 2023
292ea0d
doc: migrate examples in testers chapter to admonitions (#275791)
DanielSidhion Dec 21, 2023
0ecaa59
honk: 1.1.1 -> 1.2.0
drupol Dec 21, 2023
1ab2c85
asusctl: 5.0.0 -> 5.0.2
Dec 21, 2023
a428d29
Merge pull request #273937 from asmundo/bkiteGroups
flokli Dec 21, 2023
9dfb0b3
python310Packages.okta: 2.9.3 -> 2.9.5
r-ryantm Dec 21, 2023
314bdfe
Merge pull request #275644 from NixOS/gdal-3.8.2
imincik Dec 21, 2023
130c0ef
python310Packages.onnxmltools: 1.11.2 -> 1.12.0
r-ryantm Dec 21, 2023
98e9d68
Merge pull request #275663 from Izorkin/update-mastodon-build
erictapen Dec 21, 2023
e461a26
Merge pull request #275726 from Shawn8901/epson-escpr2-maintainer
Ma27 Dec 21, 2023
f567f3e
Merge pull request #275814 from r-ryantm/auto-update/python310Package…
happysalada Dec 21, 2023
6ce1bc1
zotero: change platforms to x86_64-linux only
chewblacka Dec 21, 2023
bf702eb
Merge pull request #275528 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
2193ed5
Merge pull request #275780 from fabaff/life360-bump
fabaff Dec 21, 2023
826a756
Merge pull request #275729 from danc86/gflanguages-0.5.13
fabaff Dec 21, 2023
687239b
planify: 4.3.1 -> 4.3.2
bobby285271 Dec 21, 2023
cff0b28
Merge pull request #275703 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
f7c38e5
Merge pull request #275711 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
54897fd
Merge pull request #275519 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
701dae7
zotero_7: change platforms to x86_64-linux only
chewblacka Dec 21, 2023
5bbf0db
Merge pull request #275558 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
7f559e5
Merge pull request #275530 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
4555897
Merge pull request #275524 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
f08363f
Merge pull request #275521 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
5b4b850
Merge pull request #275322 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
4b94a55
Merge pull request #275460 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
4be85af
python311Packages.justnimbus: update disabled
fabaff Dec 21, 2023
3271410
Merge pull request #275719 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
7abdf6d
Merge pull request #275486 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
06bec0d
nixosTests.musescore: fix for version 4.2.0
doronbehar Dec 21, 2023
ed50512
Merge pull request #275557 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
2b348b7
gnuradio3_9Minimal: use a backported modtool patch
doronbehar Dec 21, 2023
a68d59d
gnuradioMinimal: 3.10.7.0 -> 3.10.8.0
doronbehar Dec 20, 2023
d644f38
Merge pull request #268146 from nevivurn/feat/openvpn-2.6.8
ajs124 Dec 21, 2023
da79a3c
python310Packages.oracledb: 1.4.2 -> 2.0.0
r-ryantm Dec 21, 2023
0ebee70
python310Packages.ossfs: 2023.8.0 -> 2023.12.0
r-ryantm Dec 21, 2023
69f0ea5
Merge pull request #275809 from jacekpoz/asusctl
K900 Dec 21, 2023
6a39c23
evince.meta.mainProgram: init
alyssais Dec 20, 2023
dad9f6f
atomic-swap: 0.4.2 -> 0.4.3
aaronjheng Dec 21, 2023
61db89f
eos-installer: 5.0.2 -> 5.1.0
alyssais Dec 15, 2023
ee22046
ooniprobe-cli: unpin go1.20
aaronjheng Dec 21, 2023
324c5e7
python310Packages.packageurl-python: 0.11.2 -> 0.13.1
r-ryantm Dec 21, 2023
e36f5af
talosctl: 1.5.5 -> 1.6.0
aaronjheng Dec 21, 2023
f42d168
Merge pull request #275682 from a-n-n-a-l-e-e/aacgain-fix
lovesegfault Dec 21, 2023
08b802c
Merge pull request #275718 from symphorien/fix-btrbk-tests
onny Dec 21, 2023
6c99122
python310Packages.parametrize-from-file: 0.18.0 -> 0.19.0
r-ryantm Dec 21, 2023
d6cf291
Merge pull request #275652 from r-ryantm/auto-update/python310Package…
NickCao Dec 21, 2023
5743a3a
Merge pull request #275689 from Kropatz/fix-tetrio-desktop-nvidia
NickCao Dec 21, 2023
a1aee65
crate2nix: 0.11.0 -> 0.12.0
r-ryantm Dec 18, 2023
bb9e546
Merge pull request #275844 from r-ryantm/auto-update/python310Package…
NickCao Dec 21, 2023
bc15f07
Merge pull request #275839 from r-ryantm/auto-update/python310Package…
NickCao Dec 21, 2023
8ac1c15
python310Packages.peaqevcore: 19.5.21 -> 19.5.23
r-ryantm Dec 21, 2023
a5ef5cd
Merge pull request #275824 from r-ryantm/auto-update/python310Package…
NickCao Dec 21, 2023
d9a204f
Merge pull request #275819 from chewblacka/fix-zotero
NickCao Dec 21, 2023
a5ca9be
Merge pull request #275818 from bobby285271/upd/planify
NickCao Dec 21, 2023
3954346
Merge pull request #275810 from r-ryantm/auto-update/python310Package…
NickCao Dec 21, 2023
b37adfc
doc: Clarify dependency propagation
bzm3r Dec 2, 2023
347b18e
Merge pull request #275804 from r-ryantm/auto-update/python310Package…
NickCao Dec 21, 2023
59a6f90
Merge pull request #271797 from bzm3r/master
infinisil Dec 21, 2023
0bf4be0
Merge pull request #275645 from doronbehar/pkg/gnuradio
doronbehar Dec 21, 2023
9bebf88
Merge pull request #275838 from aaronjheng/ooniprobe-cli
NickCao Dec 21, 2023
da384d0
Merge pull request #275257 from schuelermine/update/musescore/4.2.0
doronbehar Dec 21, 2023
62f7a92
Merge pull request #275795 from fabaff/checkov-bump
NickCao Dec 21, 2023
0a85473
tectonic: symlink nextonic for all platforms
doronbehar Dec 21, 2023
04f1b55
tectonic: redefine to wrap it with `biber-for-tectonic`
bryango Dec 19, 2023
ecd5cfd
python310Packages.peft: 0.6.2 -> 0.7.1
r-ryantm Dec 21, 2023
ef754f9
Merge pull request #275756 from Kranzes/vmplgns
Kranzes Dec 21, 2023
f744895
Merge pull request #275781 from fabaff/sunweg-bump
fabaff Dec 21, 2023
d17d1a3
ocamlPackages.tty: init at 0.0.2
Sixstring982 Dec 20, 2023
a2fc9f4
Merge pull request #262789 from hacker1024/feature/flutter-from-source
mkg20001 Dec 21, 2023
5ff5eaf
Merge pull request #275832 from aaronjheng/atomic-swap
happysalada Dec 21, 2023
aa070a5
buildFHSEnv: fix privateTmp for sddm
tejing1 Dec 21, 2023
25c947b
steam: make privateTmp overrideable
tejing1 Dec 21, 2023
d387afb
Merge pull request #275857 from tejing1/steam-fix-sddm
K900 Dec 21, 2023
33e277b
python311Packages.oracledb: refactor
fabaff Dec 21, 2023
e87a749
Merge pull request #275494 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
575da56
Merge pull request #274048 from lilyinstarlight/fix/open-stage-contro…
Janik-Haag Dec 21, 2023
bd83dc5
Merge pull request #275489 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
7b66994
Merge pull request #275487 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
726511a
Merge pull request #275482 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
490828b
Merge pull request #275474 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
9943f17
python310Packages.podman: 4.8.0.post1 -> 4.8.1
r-ryantm Dec 21, 2023
b6755f1
python310Packages.google-cloud-bigquery-logging: refactor
fabaff Dec 21, 2023
25f831d
deno: 1.39.0 -> 1.39.1
nekowinston Dec 21, 2023
6141d1b
llama-cpp: 1573 -> 1671
suhr Dec 13, 2023
0e3cee9
Merge pull request #275837 from aaronjheng/talosctl
flokli Dec 21, 2023
018a6d3
Merge pull request #275778 from zzzsyyy/update/xanmod
Atemu Dec 21, 2023
a73fac4
Merge pull request #272078 from ncfavier/twemoji
ncfavier Dec 21, 2023
f10511b
Merge pull request #275381 from atemp/ddnet_17
ncfavier Dec 21, 2023
55d199f
Merge pull request #273740 from bryango/biber-versions
doronbehar Dec 21, 2023
dd60e62
Merge pull request #275128 from Atemu/cleanup/packages-config
ncfavier Dec 21, 2023
0f28bb7
Merge pull request #275089 from SuperSandro2000/vaultwarden-web
mkg20001 Dec 21, 2023
a762ad1
Merge pull request #273795 from alexshpilkin/parlatype-4.0
mkg20001 Dec 21, 2023
a617804
Merge pull request #275715 from drupol/vscode-extensions/bumps
drupol Dec 21, 2023
b281704
Merge pull request #275808 from NixOS/bump/honk-1-2-0
drupol Dec 21, 2023
72ff6b5
tree-sitter-grammars.tree-sitter-nu: use official repo
adamcstephens Nov 18, 2023
783163f
Merge pull request #275429 from drupol/code-server/restore
drupol Dec 21, 2023
2d55ff8
Merge pull request #275724 from ereslibre/bump-wasmtime
Kranzes Dec 21, 2023
a1dd757
Merge pull request #275852 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
4e131e6
Merge pull request #275870 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
8489cd8
Merge pull request #275823 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
320f230
Merge pull request #274326 from LeSuisse/revanced-cli-4.3.0
emilylange Dec 21, 2023
37b3df5
Merge pull request #275463 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
30cd896
Merge pull request #275790 from r-ryantm/auto-update/python310Package…
fabaff Dec 21, 2023
56dea89
Merge pull request #273967 from suhr/mixtral
NickCao Dec 21, 2023
f882df7
maintainers/scripts/check-by-name.sh: Introduce symlink alias
infinisil Dec 21, 2023
e130ee3
pkgs/test/nixpkgs-check-by-name/scripts: Various improvements
infinisil Dec 21, 2023
02b3c06
Merge pull request #274591 from tweag/by-name-reproducible
infinisil Dec 21, 2023
9d7721d
Merge pull request #274471 from r-ryantm/auto-update/google-cloud-sql…
natsukium Dec 22, 2023
28c8be4
Merge pull request #275749 from r-ryantm/auto-update/glamoroustoolkit
natsukium Dec 22, 2023
f74d9c8
Merge pull request #275862 from r-ryantm/auto-update/python310Package…
natsukium Dec 22, 2023
2b4743c
Merge pull request #275764 from r-ryantm/auto-update/nfpm
natsukium Dec 22, 2023
bfb5764
Merge pull request #275772 from natsukium/hnswlib/update
natsukium Dec 22, 2023
be21e6d
Merge pull request #275766 from LibreCybernetics/update-linux-hardened
fabianhjr Dec 22, 2023
2345072
Merge pull request #275874 from nekowinston/bump-deno-1.39.1
fabianhjr Dec 22, 2023
5a197ce
Merge pull request #275741 from MikaelFangel/update-ugrep
fabianhjr Dec 22, 2023
bfbfb34
Merge pull request #275734 from astro/virtiofsd
fabianhjr Dec 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 16 additions & 115 deletions .github/workflows/check-by-name.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Checks pkgs/by-name (see pkgs/by-name/README.md)
# using the nixpkgs-check-by-name tool (see pkgs/test/nixpkgs-check-by-name)
#
# When you make changes to this workflow, also update pkgs/test/nixpkgs-check-by-name/scripts/run-local.sh adequately
name: Check pkgs/by-name

# The pre-built tool is fetched from a channel,
Expand All @@ -21,6 +23,9 @@ jobs:
# The default of 6 hours is definitely too long
timeout-minutes: 10
steps:
# This step has to be in this file,
# because it's needed to determine which revision of the repository to fetch,
# and we can only use other files from the repository once it's fetched.
- name: Resolving the merge commit
env:
GH_TOKEN: ${{ github.token }}
Expand Down Expand Up @@ -80,124 +85,20 @@ jobs:
ref: ${{ env.mergedSha }}
# Fetches the merge commit and its parents
fetch-depth: 2
- name: Determining PR git hashes
- name: Checking out base branch
run: |
# For pull_request_target this is the same as $GITHUB_SHA
echo "baseSha=$(git rev-parse HEAD^1)" >> "$GITHUB_ENV"

echo "headSha=$(git rev-parse HEAD^2)" >> "$GITHUB_ENV"
base=$(mktemp -d)
git worktree add "$base" "$(git rev-parse HEAD^1)"
echo "base=$base" >> "$GITHUB_ENV"
- uses: cachix/install-nix-action@7ac1ec25491415c381d9b62f0657c7a028df52a7 # v24
- name: Determining channel to use for dependencies
run: |
echo "Determining the preferred channel to use for PR base branch $GITHUB_BASE_REF"
if [[ "$GITHUB_BASE_REF" =~ ^(release|staging|staging-next)-([0-9][0-9]\.[0-9][0-9])$ ]]; then
# Use the release channel for all PRs to release-XX.YY, staging-XX.YY and staging-next-XX.YY
channel=nixos-${BASH_REMATCH[2]}
echo "PR is for a release branch, preferred channel is $channel"
else
# Use the nixos-unstable channel for all other PRs
channel=nixos-unstable
echo "PR is for a non-release branch, preferred channel is $channel"
fi
# Check that the channel exists. It doesn't exist for fresh release branches
if ! curl -fSs "https://channels.nixos.org/$channel"; then
# Fall back to nixos-unstable, makes sense for fresh release branches
echo "Preferred channel $channel could not be fetched, falling back to nixos-unstable"
channel=nixos-unstable
fi
echo "channel=$channel" >> "$GITHUB_ENV"
- name: Fetching latest version of channel
run: |
echo "Fetching latest version of channel $channel"
# This is probably the easiest way to get Nix to output the path to a downloaded channel!
nixpkgs=$(nix-instantiate --find-file nixpkgs -I nixpkgs=channel:"$channel")
# This file only exists in channels
rev=$(<"$nixpkgs"/.git-revision)
echo "Channel $channel is at revision $rev"
echo "nixpkgs=$nixpkgs" >> "$GITHUB_ENV"
echo "rev=$rev" >> "$GITHUB_ENV"
- name: Fetching pre-built nixpkgs-check-by-name from the channel
run: |
echo "Fetching pre-built nixpkgs-check-by-name from channel $channel at revision $rev"
# Passing --max-jobs 0 makes sure that we won't build anything
nix-build "$nixpkgs" -A tests.nixpkgs-check-by-name --max-jobs 0
- name: Fetching the tool
run: pkgs/test/nixpkgs-check-by-name/scripts/fetch-tool.sh "$GITHUB_BASE_REF" result
- name: Running nixpkgs-check-by-name
run: |
echo "Checking whether the check succeeds on the base branch $GITHUB_BASE_REF"
git checkout -q "$baseSha"
if baseOutput=$(result/bin/nixpkgs-check-by-name . 2>&1); then
baseSuccess=1
else
baseSuccess=
fi
printf "%s\n" "$baseOutput"

echo "Checking whether the check would succeed after merging this pull request"
git checkout -q "$mergedSha"
if mergedOutput=$(result/bin/nixpkgs-check-by-name . 2>&1); then
mergedSuccess=1
exitCode=0
if result/bin/nixpkgs-check-by-name --base "$base" .; then
exit 0
else
mergedSuccess=
exitCode=1
exitCode=$?
echo "To run locally: ./maintainers/scripts/check-by-name.sh $GITHUB_BASE_REF https://github.com/$GITHUB_REPOSITORY.git"
exit "$exitCode"
fi
printf "%s\n" "$mergedOutput"

resultToEmoji() {
if [[ -n "$1" ]]; then
echo ":heavy_check_mark:"
else
echo ":x:"
fi
}

# Print a markdown summary in GitHub actions
{
echo "| Nixpkgs version | Check result |"
echo "| --- | --- |"
echo "| Latest base commit | $(resultToEmoji "$baseSuccess") |"
echo "| After merging this PR | $(resultToEmoji "$mergedSuccess") |"
echo ""

if [[ -n "$baseSuccess" ]]; then
if [[ -n "$mergedSuccess" ]]; then
echo "The check succeeds on both the base branch and after merging this PR"
else
echo "The check succeeds on the base branch, but would fail after merging this PR:"
echo "\`\`\`"
echo "$mergedOutput"
echo "\`\`\`"
echo ""
fi
else
if [[ -n "$mergedSuccess" ]]; then
echo "The check fails on the base branch, but this PR fixes it, nicely done!"
else
echo "The check fails on both the base branch and after merging this PR, unknown if only this PRs changes would satisfy the check, the base branch needs to be fixed first."
echo ""
echo "Failure on the base branch:"
echo "\`\`\`"
echo "$baseOutput"
echo "\`\`\`"
echo ""
echo "Failure after merging this PR:"
echo "\`\`\`"
echo "$mergedOutput"
echo "\`\`\`"
echo ""
fi
fi

echo "### Details"
echo "- nixpkgs-check-by-name tool:"
echo " - Channel: $channel"
echo " - Nixpkgs commit: [$rev](https://github.com/${GITHUB_REPOSITORY}/commit/$rev)"
echo " - Store path: \`$(realpath result)\`"
echo "- Tested Nixpkgs:"
echo " - Base branch: $GITHUB_BASE_REF"
echo " - Latest base branch commit: [$baseSha](https://github.com/${GITHUB_REPOSITORY}/commit/$baseSha)"
echo " - Latest PR commit: [$headSha](https://github.com/${GITHUB_REPOSITORY}/commit/$headSha)"
echo " - Merge commit: [$mergedSha](https://github.com/${GITHUB_REPOSITORY}/commit/$mergedSha)"
} >> "$GITHUB_STEP_SUMMARY"

exit "$exitCode"
102 changes: 58 additions & 44 deletions doc/build-helpers/testers.chapter.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,41 @@
# Testers {#chap-testers}

This chapter describes several testing builders which are available in the `testers` namespace.

## `hasPkgConfigModules` {#tester-hasPkgConfigModules}

<!-- Old anchor name so links still work -->
[]{#tester-hasPkgConfigModule}
Checks whether a package exposes a given list of `pkg-config` modules.
If the `moduleNames` argument is omitted, `hasPkgConfigModules` will
use `meta.pkgConfigModules`.
If the `moduleNames` argument is omitted, `hasPkgConfigModules` will use `meta.pkgConfigModules`.

:::{.example #ex-haspkgconfigmodules-defaultvalues}

Example:
# Check that `pkg-config` modules are exposed using default values

```nix
passthru.tests.pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
moduleNames = [ "libfoo" ];
};

meta.pkgConfigModules = [ "libfoo" ];
```

If the package in question has `meta.pkgConfigModules` set, it is even simpler:
:::

:::{.example #ex-haspkgconfigmodules-explicitmodules}

# Check that `pkg-config` modules are exposed using explicit module names

```nix
passthru.tests.pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
moduleNames = [ "libfoo" ];
};

meta.pkgConfigModules = [ "libfoo" ];
```

:::

## `testVersion` {#tester-testVersion}

Checks that the output from running a command contains the specified version string in it as a whole word.
Expand Down Expand Up @@ -83,7 +91,18 @@ This returns a derivation with an override on the builder, with the following ef
- Move `$out` to `$out/result`, if it exists (assuming `out` is the default output)
- Save the build log to `$out/testBuildFailure.log` (same)

Example:
While `testBuildFailure` is designed to keep changes to the original builder's environment to a minimum, some small changes are inevitable:

- The file `$TMPDIR/testBuildFailure.log` is present. It should not be deleted.
- `stdout` and `stderr` are a pipe instead of a tty. This could be improved.
- One or two extra processes are present in the sandbox during the original builder's execution.
- The derivation and output hashes are different, but not unusual.
- The derivation includes a dependency on `buildPackages.bash` and `expect-failure.sh`, which is built to include a transitive dependency on `buildPackages.coreutils` and possibly more.
These are not added to `PATH` or any other environment variable, so they should be hard to observe.

:::{.example #ex-testBuildFailure-showingenvironmentchanges}

# Check that a build fails, and verify the changes made during build

```nix
runCommand "example" {
Expand All @@ -100,24 +119,15 @@ runCommand "example" {
'';
```

While `testBuildFailure` is designed to keep changes to the original builder's
environment to a minimum, some small changes are inevitable.

- The file `$TMPDIR/testBuildFailure.log` is present. It should not be deleted.
- `stdout` and `stderr` are a pipe instead of a tty. This could be improved.
- One or two extra processes are present in the sandbox during the original
builder's execution.
- The derivation and output hashes are different, but not unusual.
- The derivation includes a dependency on `buildPackages.bash` and
`expect-failure.sh`, which is built to include a transitive dependency on
`buildPackages.coreutils` and possibly more. These are not added to `PATH`
or any other environment variable, so they should be hard to observe.
:::

## `testEqualContents` {#tester-equalContents}

Check that two paths have the same contents.

Example:
:::{.example #ex-testEqualContents-toyexample}

# Check that two paths have the same contents

```nix
testers.testEqualContents {
Expand All @@ -137,17 +147,20 @@ testers.testEqualContents {
}
```

:::

## `testEqualDerivation` {#tester-testEqualDerivation}

Checks that two packages produce the exact same build instructions.

This can be used to make sure that a certain difference of configuration,
such as the presence of an overlay does not cause a cache miss.
This can be used to make sure that a certain difference of configuration, such as the presence of an overlay does not cause a cache miss.

When the derivations are equal, the return value is an empty file.
Otherwise, the build log explains the difference via `nix-diff`.

Example:
:::{.example #ex-testEqualDerivation-hello}

# Check that two packages produce the same derivation

```nix
testers.testEqualDerivation
Expand All @@ -156,29 +169,28 @@ testers.testEqualDerivation
(hello.overrideAttrs(o: { doCheck = true; }))
```

:::

## `invalidateFetcherByDrvHash` {#tester-invalidateFetcherByDrvHash}

Use the derivation hash to invalidate the output via name, for testing.

Type: `(a@{ name, ... } -> Derivation) -> a -> Derivation`

Normally, fixed output derivations can and should be cached by their output
hash only, but for testing we want to re-fetch everytime the fetcher changes.
Normally, fixed output derivations can and should be cached by their output hash only, but for testing we want to re-fetch everytime the fetcher changes.

Changes to the fetcher become apparent in the drvPath, which is a hash of
how to fetch, rather than a fixed store path.
By inserting this hash into the name, we can make sure to re-run the fetcher
every time the fetcher changes.
Changes to the fetcher become apparent in the drvPath, which is a hash of how to fetch, rather than a fixed store path.
By inserting this hash into the name, we can make sure to re-run the fetcher every time the fetcher changes.

This relies on the assumption that Nix isn't clever enough to reuse its
database of local store contents to optimize fetching.
This relies on the assumption that Nix isn't clever enough to reuse its database of local store contents to optimize fetching.

You might notice that the "salted" name derives from the normal invocation,
not the final derivation. `invalidateFetcherByDrvHash` has to invoke the fetcher
function twice: once to get a derivation hash, and again to produce the final
fixed output derivation.
You might notice that the "salted" name derives from the normal invocation, not the final derivation.
`invalidateFetcherByDrvHash` has to invoke the fetcher function twice:
once to get a derivation hash, and again to produce the final fixed output derivation.

Example:
:::{.example #ex-invalidateFetcherByDrvHash-nix}

# Prevent nix from reusing the output of a fetcher

```nix
tests.fetchgit = testers.invalidateFetcherByDrvHash fetchgit {
Expand All @@ -189,13 +201,17 @@ tests.fetchgit = testers.invalidateFetcherByDrvHash fetchgit {
};
```

:::

## `runNixOSTest` {#tester-runNixOSTest}

A helper function that behaves exactly like the NixOS `runTest`, except it also assigns this Nixpkgs package set as the `pkgs` of the test and makes the `nixpkgs.*` options read-only.

If your test is part of the Nixpkgs repository, or if you need a more general entrypoint, see ["Calling a test" in the NixOS manual](https://nixos.org/manual/nixos/stable/index.html#sec-calling-nixos-tests).

Example:
:::{.example #ex-runNixOSTest-hello}

# Run a NixOS test using `runNixOSTest`

```nix
pkgs.testers.runNixOSTest ({ lib, ... }: {
Expand All @@ -209,19 +225,17 @@ pkgs.testers.runNixOSTest ({ lib, ... }: {
})
```

:::

## `nixosTest` {#tester-nixosTest}

Run a NixOS VM network test using this evaluation of Nixpkgs.

NOTE: This function is primarily for external use. NixOS itself uses `make-test-python.nix` directly. Packages defined in Nixpkgs [reuse NixOS tests via `nixosTests`, plural](#ssec-nixos-tests-linking).

It is mostly equivalent to the function `import ./make-test-python.nix` from the
[NixOS manual](https://nixos.org/nixos/manual/index.html#sec-nixos-tests),
except that the current application of Nixpkgs (`pkgs`) will be used, instead of
letting NixOS invoke Nixpkgs anew.
It is mostly equivalent to the function `import ./make-test-python.nix` from the [NixOS manual](https://nixos.org/nixos/manual/index.html#sec-nixos-tests), except that the current application of Nixpkgs (`pkgs`) will be used, instead of letting NixOS invoke Nixpkgs anew.

If a test machine needs to set NixOS options under `nixpkgs`, it must set only the
`nixpkgs.pkgs` option.
If a test machine needs to set NixOS options under `nixpkgs`, it must set only the `nixpkgs.pkgs` option.

### Parameter {#tester-nixosTest-parameter}

Expand Down
Loading