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

Replace simple activationScripts #263203

Merged
merged 22 commits into from
Oct 28, 2023
Merged

Conversation

nikstur
Copy link
Contributor

@nikstur nikstur commented Oct 24, 2023

This is one part of a series of PRs towards activation without Perl. See more about this larger project here: https://pad.lassul.us/nixos-perlless-activation#

This PR is part of step 1 of the larger project.

In this PR, I replace many of the simple activationScripts. I employed this strategy to remove activationScripts:

  1. removing them without replacement because they are not needed anymore
  2. replacing them via ExecPreStart=
  3. replacing them via a separate service ordered correctly before the other services that need it
  4. replacing them via a separate service that runs very early, e.g. with
    wantedBy = [ "sysinit.target" ];
    before = [ "sysinit.target" ];
    unitConfig.DefaultDependencies = false;

One of the immediate benefits of this work is that these activationScripts now actually run after the initrd when you use the systemd initrd. The systemd initrd calls stage-2-init.sh in the initrd as ./prepare-root

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

The activationScript does not seem to be necessary anymore as the paths
are created anyways.
@nikstur nikstur requested a review from dasJ as a code owner October 24, 2023 18:19
@github-actions github-actions bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Oct 24, 2023
@nikstur nikstur force-pushed the replace-activation branch from 0b039b6 to 0c4ee3d Compare October 24, 2023 18:24
nixos/modules/config/shells-environment.nix Outdated Show resolved Hide resolved
nixos/modules/config/users-groups.nix Outdated Show resolved Hide resolved
nixos/modules/security/wrappers/default.nix Outdated Show resolved Hide resolved
nixos/modules/services/hardware/udev.nix Outdated Show resolved Hide resolved
nixos/modules/system/boot/modprobe.nix Outdated Show resolved Hide resolved
Create the wrappers via a separate systemd service.
@nikstur nikstur force-pushed the replace-activation branch from 0c4ee3d to c3018b4 Compare October 24, 2023 22:47
blitz and others added 3 commits October 25, 2023 00:48
@nikstur nikstur force-pushed the replace-activation branch from c3018b4 to 6b07cc2 Compare October 24, 2023 22:57
Copy link
Contributor

@l0b0 l0b0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've only reviewed the shell script parts of this PR.

@nikstur
Copy link
Contributor Author

nikstur commented Oct 25, 2023

I've only reviewed the shell script parts of this PR.

I will not change the shell scripts themselves. I just move them into a systemd service or preStart.

Improving the shell scripts is out of scope.

Edit: Thank you for leaving these improvements here. I hope someone else can pick them up in a separate PR!

@nikstur nikstur force-pushed the replace-activation branch from 138fe17 to d300940 Compare October 26, 2023 00:14
@nikstur
Copy link
Contributor Author

nikstur commented Oct 26, 2023

@ofborg test wrappers mysql.mysql80 iscsi-root strongswan-swanctl mattermost systemd-binfmt systemd-timesyncd opensearch.opensearch stunnel grafana.provision activcation-nix-channel activation-var

The stargazer test seems to be broken on master

@nikstur
Copy link
Contributor Author

nikstur commented Oct 27, 2023

@ElvishJerricco is this good to go now?

Copy link
Contributor

@ElvishJerricco ElvishJerricco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it looks good yea

@delroth delroth added 12.approvals: 2 This PR was reviewed and approved by two reputable people and removed 12.approvals: 1 This PR was reviewed and approved by one reputable person labels Oct 27, 2023
@lheckemann lheckemann merged commit 8670794 into NixOS:master Oct 28, 2023
11 checks passed
@K900
Copy link
Contributor

K900 commented Oct 29, 2023

a8f50f9 broke the installer tests.

@K900
Copy link
Contributor

K900 commented Oct 29, 2023

Reverting in #264200

@nikstur
Copy link
Contributor Author

nikstur commented Oct 29, 2023

Reverting in #264200

Thank you for taking the time to only revert the offending commit!

@NetaliDev
Copy link
Member

NetaliDev commented Dec 1, 2023

b5617e0 broke the MySQL auth module since it now depends on a local mysql database. Additionally, the script needs to run as root for the chown calls.

system.activationScripts.hostname = let
effectiveHostname = config.boot.kernel.sysctl."kernel.hostname" or cfg.hostName;
in optionalString (effectiveHostname != "") ''
hostname "${effectiveHostname}"
Copy link
Member

@arianvp arianvp Dec 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a slight regression in behaviour. Systemd refuses to set the transient hostname altogether if /etc/hostname exists. But I think that is harmless. gethostname will still return the correct thing I think

nikstur pushed a commit to arianvp/nixpkgs that referenced this pull request Jul 20, 2024
We want to get rid of specialFileSystems / earlyMountScript eventually and
there is no need to run this before systemd anymore now that
the wrappers themselves are set up in a systemd unit since NixOS#263203

Also this is needed to make soft-reboot work. We want to make sure
that we remount /run/wrappers with the nosuid bit removed on soft-reboot
but because @earlyMountScript@ happens in initrd, this wouldn't happen
meslubi2021 added a commit to Unity-Nix/nixpkgs that referenced this pull request Jul 20, 2024
* flaresolverr: init at 3.3.21

* nixos/flaresolverr: initial commit

* minio: 2024-07-04T14-25-45Z -> 2024-07-16T23-46-41Z

* cargo-make: 0.37.13 -> 0.37.14

* vscode-extensions.nefrob.vscode-just-syntax: 0.3.0 -> 0.5.1

* python312Packages.tencentcloud-sdk-python: 3.0.1190 -> 3.0.1192

Diff: TencentCloud/tencentcloud-sdk-python@refs/tags/3.0.1190...3.0.1192

Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1192/CHANGELOG.md

* python312Packages.tencentcloud-sdk-python: 3.0.1192 -> 3.0.1193

Diff: TencentCloud/tencentcloud-sdk-python@refs/tags/3.0.1192...3.0.1193

Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1193/CHANGELOG.md

* python312Packages.boto3-stubs: 1.34.144 -> 1.34.145

* python312Packages.botocore-stubs: 1.34.144 -> 1.34.145

* phraze: Add updateScript and version test

* files-cli: 2.13.85 -> 2.13.96

* lbreakouthd: 1.1.8 -> 1.1.9

* kdePackages.kio: 6.4.0 -> 6.4.1

* kdePackages.kwidgetsaddons: 6.4.0 -> 6.4.1

* home-assistant-custom-lovelace-modules.android-tv-card: 3.8.1 -> 3.8.2

Diff: Nerwyn/android-tv-card@3.8.1...3.8.2

* strictdoc: 0.0.57 -> 0.0.58

* nh: 3.5.18 -> 3.5.19

* steampipe: 0.23.2 -> 0.23.3

* numix-icon-theme-circle: 24.04.22 -> 24.07.19

* srm-cuarzo: 0.6.1-1 -> 0.6.3-1

* python312Packages.gpytorch: 1.11 -> 1.12

* haven-cli: 4.0.0 -> 4.0.2

* android-studio: 2024.1.1.11 -> 2024.1.1.12

* androidStudioPackages.canary: 2024.1.2.8 -> 2024.1.3.1

* ntpd-rs: 1.2.0 -> 1.2.2

* go: support FreeBSD

* python312Packages.app-model: 0.2.7 -> 0.2.8

* python312Packages.lmfit: 1.3.1 -> 1.3.2

* kustomize: 5.4.2 -> 5.4.3

* cargo-modules: 0.16.3 -> 0.16.6

* safeeyes: add missing setuptools dependency

Fixes:

    Traceback (most recent call last):
      File "/nix/store/km8nzjccd4r0g704is31q18qzl101g89-safeeyes-2.1.9/bin/.safeeyes-wrapped", line 6, in <module>
        from safeeyes.__main__ import main
      File "/nix/store/km8nzjccd4r0g704is31q18qzl101g89-safeeyes-2.1.9/lib/python3.12/site-packages/safeeyes/__main__.py", line 32, in <module>
        from safeeyes import utility
      File "/nix/store/km8nzjccd4r0g704is31q18qzl101g89-safeeyes-2.1.9/lib/python3.12/site-packages/safeeyes/utility.py", line 35, in <module>
        from distutils.version import LooseVersion
    ModuleNotFoundError: No module named 'distutils'

* python312Packages.holidays: 0.52 -> 0.53

https://github.com/vacanza/python-holidays/releases/tag/v0.53

* python312Packages.pytedee-async: 0.2.17 -> 0.2.20

Diff: zweckj/aiotedee@refs/tags/v0.2.17...v0.2.20

Changelog: https://github.com/zweckj/pytedee_async/releases/tag/v0.2.20

* python312Packages.python-kasa: 0.7.0.3 -> 0.7.0.5

Diff: python-kasa/python-kasa@refs/tags/0.7.0.3...0.7.0.5

Changelog: https://github.com/python-kasa/python-kasa/blob/0.7.0.5/CHANGELOG.md

Co-Authored-By: Martin Weinelt <[email protected]>

* python312Packages.upb-lib: 0.5.7 -> 0.5.8

Diff: gwww/upb-lib@refs/tags/0.5.7...0.5.8

Changelog: https://github.com/gwww/upb-lib/releases/tag/0.5.8

* obs-studio-plugins.obs-move-transition: 3.0.1 -> 3.0.2

* home-assistant: 2024.7.2 -> 2024.7.3

https://github.com/home-assistant/core/releases/tag/2024.7.3

* python312Packages.homeassistant-stubs: 2024.7.2 -> 2024.7.3

https://github.com/KapJI/homeassistant-stubs/releases/tag/2024.7.3

* mark: 9.12.0 -> 9.13.0

* ntpd-rs: disable testsuite, too flaky

* python312Packages.yfinance: 0.2.40 -> 0.2.41

* emacsPackages.ott-mode: trivialBuild -> melpaBuild

Also fix homepage and license.

* python312Packages.distributed: 2024.7.0 -> 2024.7.1

* python312Packages.rotary-embedding-torch: 0.6.2 -> 0.6.4

* beanhub-cli: 1.2.2 -> 1.2.3

* open-scq30: add CoreBluetooth framework on Darwin

* doc: Remove indefinite article and ending period from example meta.description

so that meta.description examples shown in the documentation
align with recommendations given in the "Meta attributes" section
in pkgs/README.md.

The changes were made with the following commands:
nix run nixpkgs#silver-searcher -- -l0 'description\s*=\s*"([Aa]n?|[Tt]he)\s' doc \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee '/description/s/"([Aa]n?|[Tt]he)\s(.)/"\U\2/'
nix run nixpkgs#silver-searcher -- -l0 'description\s*=\s*".*\."' doc \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee '/description/s/\."/"/'

* python312Packages.gtts: 2.5.1 -> 2.5.2

* virtiofsd: 1.11.0 -> 1.11.1

* llvm: fix broken llvm-config-native for canExecute

Since a0b4b85 ("llvm: Avoid cross compiling if the build platform
can execute host binaries"), the flags to get a working
llvm-config-native are not used when the build platform can execute
host binaries, resulting in a broken llvm-config-native, and therefore
a broken mesa, but since build can execute host, we don't need a
separate llvm-config-native at all — we can just use the normal
llvm-config.

Fixes: a0b4b85 ("llvm: Avoid cross compiling if the build platform can execute host binaries")

* linuxPackages_latest.rust-out-of-tree-module.updateScript: init

Added a version to the package to make the update script happy.

* linuxPackages_latest.rust-out-of-tree-module: 0-unstable-2023-08-29 -> 0-unstable-2024-05-06

Updated for breaking changes in Linux 6.10.

* androidStudioPackages.beta: 2024.1.1.10 -> 2024.1.2.9

* python312Packages.quaternion: 2023.0.3 -> 2023.0.4

* erigon: 2.60.2 -> 2.60.4

* python312Packages.cohere: 5.6.0 -> 5.6.1

* osu-lazer-bin: 2024.718.0 -> 2024.718.1

* vscode-extensions.42crunch.vscode-openapi: 4.25.3 -> 4.27.0

- Changelog: https://github.com/42Crunch/vscode-openapi/blob/master/CHANGELOG.md#version-4270-june-27-2024
- Comparing changes: 42Crunch/vscode-openapi@v4.25.3...v4.27.0

* osu-lazer: 2024.718.0 -> 2024.718.1

* silice: 0-unstable-2024-06-23 -> 0-unstable-2024-07-15

* cudaPackages.writeGpuTestPython: allow a selector for `libraries` to accommodate different python versions

* bemenu: 0.6.22 -> 0.6.23

* cudaPackages.writeGpuTestPython: sync the attr and the filesystem paths

* python312Packages.python-smarttub: 0.0.36 -> 0.0.37

* gnome-font-viewer: fix build with clang 16

* cudaPackages.writeGpuTestPython: accept makeWrapperArgs

* python311Packages.torch.tests.tester-*Available: unbreak for non-default python package sets

* python3Packages.torch.tests.*compile*: init

* bustle: use gettext from nixpkgs

The vendored gettext fails to build with clang 16 on Darwin. The gettext in nixpkgs works.

* incus: fix OVMF path backward compatibility

incus 6.3.0 changed the OVMF path, but our module needs to support LTS
as well. Also move the newer OCI deps to be conditional on version.

* vscodium: 1.90.2.24171 -> 1.91.1.24193

* nixos/wrappers: use normal mount for /run/wrappers

We want to get rid of specialFileSystems / earlyMountScript eventually and
there is no need to run this before systemd anymore now that
the wrappers themselves are set up in a systemd unit since NixOS#263203

Also this is needed to make soft-reboot work. We want to make sure
that we remount /run/wrappers with the nosuid bit removed on soft-reboot
but because @earlyMountScript@ happens in initrd, this wouldn't happen

* xdg-desktop-portal-xapp: 1.0.7 -> 1.0.8

* cinnamon.pix: 3.4.1 -> 3.4.2

Also enable optional brasero / colord support.

linuxmint/pix@3.4.1...3.4.2

* cinnamon.cinnamon-session: 6.2.0 -> 6.2.1

* applet-window-buttons6: init at 0.13.0

* python312Packages.formulae: 0.5.3 -> 0.5.4

* python312Packages.tplink-omada-client: 1.4.0 -> 1.4.1

* tui-journal: 0.9.0 -> 0.9.1

* wstunnel: 9.7.2 -> 9.7.4

* iosevka: 30.3.2 -> 30.3.3

---------

Co-authored-by: Pavel Sobolev <[email protected]>
Co-authored-by: Peder Bergebakken Sundt <[email protected]>
Co-authored-by: Emily <[email protected]>
Co-authored-by: Martin Weinelt <[email protected]>
Co-authored-by: R. Ryantm <[email protected]>
Co-authored-by: Robert Scott <[email protected]>
Co-authored-by: Johannes Jöns <[email protected]>
Co-authored-by: nixpkgs-merge-bot[bot] <148217876+nixpkgs-merge-bot[bot]@users.noreply.github.com>
Co-authored-by: abysssol <[email protected]>
Co-authored-by: uncenter <[email protected]>
Co-authored-by: Fabian Affolter <[email protected]>
Co-authored-by: Fabian Affolter <[email protected]>
Co-authored-by: Jörg Thalheim <[email protected]>
Co-authored-by: José Romildo Malaquias <[email protected]>
Co-authored-by: x123 <[email protected]>
Co-authored-by: Thomas Gerbet <[email protected]>
Co-authored-by: Artturin <[email protected]>
Co-authored-by: K900 <[email protected]>
Co-authored-by: Adam C. Stephens <[email protected]>
Co-authored-by: Nick Cao <[email protected]>
Co-authored-by: Emily Trau <[email protected]>
Co-authored-by: Weijia Wang <[email protected]>
Co-authored-by: Yt <[email protected]>
Co-authored-by: Lin Jian <[email protected]>
Co-authored-by: Franz Pletz <[email protected]>
Co-authored-by: Audrey Dutcher <[email protected]>
Co-authored-by: Cole Helbling <[email protected]>
Co-authored-by: Martin Weinelt <[email protected]>
Co-authored-by: Robert Schütz <[email protected]>
Co-authored-by: Marcus Ramberg <[email protected]>
Co-authored-by: Randy Eckenrode <[email protected]>
Co-authored-by: Pol Dellaiera <[email protected]>
Co-authored-by: Alexis Hildebrandt <[email protected]>
Co-authored-by: lassulus <[email protected]>
Co-authored-by: Robert Schütz <[email protected]>
Co-authored-by: Alyssa Ross <[email protected]>
Co-authored-by: Masum Reza <[email protected]>
Co-authored-by: Thiago Kenji Okada <[email protected]>
Co-authored-by: Sandro <[email protected]>
Co-authored-by: Gutyina Gergő <[email protected]>
Co-authored-by: Benedikt Hiemer <[email protected]>
Co-authored-by: Maximilian Bosch <[email protected]>
Co-authored-by: Aleksana <[email protected]>
Co-authored-by: Guillaume Girol <[email protected]>
Co-authored-by: Someone Serge <[email protected]>
Co-authored-by: ❄️ <[email protected]>
Co-authored-by: Yorick <[email protected]>
Co-authored-by: Adam Stephens <[email protected]>
Co-authored-by: Leona Maroni <[email protected]>
Co-authored-by: Arian van Putten <[email protected]>
Co-authored-by: A1ca7raz <[email protected]>
Co-authored-by: John Ericson <[email protected]>
Co-authored-by: Bobby Rong <[email protected]>
Co-authored-by: Someone <[email protected]>
meslubi2021 added a commit to Unity-Nix/nixpkgs that referenced this pull request Jul 20, 2024
* flaresolverr: init at 3.3.21

* nixos/flaresolverr: initial commit

* minio: 2024-07-04T14-25-45Z -> 2024-07-16T23-46-41Z

* cargo-make: 0.37.13 -> 0.37.14

* vscode-extensions.nefrob.vscode-just-syntax: 0.3.0 -> 0.5.1

* python312Packages.tencentcloud-sdk-python: 3.0.1190 -> 3.0.1192

Diff: TencentCloud/tencentcloud-sdk-python@refs/tags/3.0.1190...3.0.1192

Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1192/CHANGELOG.md

* python312Packages.tencentcloud-sdk-python: 3.0.1192 -> 3.0.1193

Diff: TencentCloud/tencentcloud-sdk-python@refs/tags/3.0.1192...3.0.1193

Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1193/CHANGELOG.md

* python312Packages.boto3-stubs: 1.34.144 -> 1.34.145

* python312Packages.botocore-stubs: 1.34.144 -> 1.34.145

* phraze: Add updateScript and version test

* files-cli: 2.13.85 -> 2.13.96

* lbreakouthd: 1.1.8 -> 1.1.9

* kdePackages.kio: 6.4.0 -> 6.4.1

* kdePackages.kwidgetsaddons: 6.4.0 -> 6.4.1

* home-assistant-custom-lovelace-modules.android-tv-card: 3.8.1 -> 3.8.2

Diff: Nerwyn/android-tv-card@3.8.1...3.8.2

* strictdoc: 0.0.57 -> 0.0.58

* nh: 3.5.18 -> 3.5.19

* steampipe: 0.23.2 -> 0.23.3

* numix-icon-theme-circle: 24.04.22 -> 24.07.19

* srm-cuarzo: 0.6.1-1 -> 0.6.3-1

* python312Packages.gpytorch: 1.11 -> 1.12

* haven-cli: 4.0.0 -> 4.0.2

* android-studio: 2024.1.1.11 -> 2024.1.1.12

* androidStudioPackages.canary: 2024.1.2.8 -> 2024.1.3.1

* ntpd-rs: 1.2.0 -> 1.2.2

* go: support FreeBSD

* python312Packages.app-model: 0.2.7 -> 0.2.8

* python312Packages.lmfit: 1.3.1 -> 1.3.2

* kustomize: 5.4.2 -> 5.4.3

* cargo-modules: 0.16.3 -> 0.16.6

* safeeyes: add missing setuptools dependency

Fixes:

    Traceback (most recent call last):
      File "/nix/store/km8nzjccd4r0g704is31q18qzl101g89-safeeyes-2.1.9/bin/.safeeyes-wrapped", line 6, in <module>
        from safeeyes.__main__ import main
      File "/nix/store/km8nzjccd4r0g704is31q18qzl101g89-safeeyes-2.1.9/lib/python3.12/site-packages/safeeyes/__main__.py", line 32, in <module>
        from safeeyes import utility
      File "/nix/store/km8nzjccd4r0g704is31q18qzl101g89-safeeyes-2.1.9/lib/python3.12/site-packages/safeeyes/utility.py", line 35, in <module>
        from distutils.version import LooseVersion
    ModuleNotFoundError: No module named 'distutils'

* python312Packages.holidays: 0.52 -> 0.53

https://github.com/vacanza/python-holidays/releases/tag/v0.53

* python312Packages.pytedee-async: 0.2.17 -> 0.2.20

Diff: zweckj/aiotedee@refs/tags/v0.2.17...v0.2.20

Changelog: https://github.com/zweckj/pytedee_async/releases/tag/v0.2.20

* python312Packages.python-kasa: 0.7.0.3 -> 0.7.0.5

Diff: python-kasa/python-kasa@refs/tags/0.7.0.3...0.7.0.5

Changelog: https://github.com/python-kasa/python-kasa/blob/0.7.0.5/CHANGELOG.md

Co-Authored-By: Martin Weinelt <[email protected]>

* python312Packages.upb-lib: 0.5.7 -> 0.5.8

Diff: gwww/upb-lib@refs/tags/0.5.7...0.5.8

Changelog: https://github.com/gwww/upb-lib/releases/tag/0.5.8

* obs-studio-plugins.obs-move-transition: 3.0.1 -> 3.0.2

* home-assistant: 2024.7.2 -> 2024.7.3

https://github.com/home-assistant/core/releases/tag/2024.7.3

* python312Packages.homeassistant-stubs: 2024.7.2 -> 2024.7.3

https://github.com/KapJI/homeassistant-stubs/releases/tag/2024.7.3

* mark: 9.12.0 -> 9.13.0

* ntpd-rs: disable testsuite, too flaky

* python312Packages.yfinance: 0.2.40 -> 0.2.41

* emacsPackages.ott-mode: trivialBuild -> melpaBuild

Also fix homepage and license.

* python312Packages.distributed: 2024.7.0 -> 2024.7.1

* python312Packages.rotary-embedding-torch: 0.6.2 -> 0.6.4

* beanhub-cli: 1.2.2 -> 1.2.3

* open-scq30: add CoreBluetooth framework on Darwin

* doc: Remove indefinite article and ending period from example meta.description

so that meta.description examples shown in the documentation
align with recommendations given in the "Meta attributes" section
in pkgs/README.md.

The changes were made with the following commands:
nix run nixpkgs#silver-searcher -- -l0 'description\s*=\s*"([Aa]n?|[Tt]he)\s' doc \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee '/description/s/"([Aa]n?|[Tt]he)\s(.)/"\U\2/'
nix run nixpkgs#silver-searcher -- -l0 'description\s*=\s*".*\."' doc \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee '/description/s/\."/"/'

* python312Packages.gtts: 2.5.1 -> 2.5.2

* virtiofsd: 1.11.0 -> 1.11.1

* llvm: fix broken llvm-config-native for canExecute

Since a0b4b85 ("llvm: Avoid cross compiling if the build platform
can execute host binaries"), the flags to get a working
llvm-config-native are not used when the build platform can execute
host binaries, resulting in a broken llvm-config-native, and therefore
a broken mesa, but since build can execute host, we don't need a
separate llvm-config-native at all — we can just use the normal
llvm-config.

Fixes: a0b4b85 ("llvm: Avoid cross compiling if the build platform can execute host binaries")

* linuxPackages_latest.rust-out-of-tree-module.updateScript: init

Added a version to the package to make the update script happy.

* linuxPackages_latest.rust-out-of-tree-module: 0-unstable-2023-08-29 -> 0-unstable-2024-05-06

Updated for breaking changes in Linux 6.10.

* androidStudioPackages.beta: 2024.1.1.10 -> 2024.1.2.9

* python312Packages.quaternion: 2023.0.3 -> 2023.0.4

* erigon: 2.60.2 -> 2.60.4

* python312Packages.cohere: 5.6.0 -> 5.6.1

* osu-lazer-bin: 2024.718.0 -> 2024.718.1

* vscode-extensions.42crunch.vscode-openapi: 4.25.3 -> 4.27.0

- Changelog: https://github.com/42Crunch/vscode-openapi/blob/master/CHANGELOG.md#version-4270-june-27-2024
- Comparing changes: 42Crunch/vscode-openapi@v4.25.3...v4.27.0

* osu-lazer: 2024.718.0 -> 2024.718.1

* silice: 0-unstable-2024-06-23 -> 0-unstable-2024-07-15

* cudaPackages.writeGpuTestPython: allow a selector for `libraries` to accommodate different python versions

* bemenu: 0.6.22 -> 0.6.23

* cudaPackages.writeGpuTestPython: sync the attr and the filesystem paths

* python312Packages.python-smarttub: 0.0.36 -> 0.0.37

* gnome-font-viewer: fix build with clang 16

* cudaPackages.writeGpuTestPython: accept makeWrapperArgs

* python311Packages.torch.tests.tester-*Available: unbreak for non-default python package sets

* python3Packages.torch.tests.*compile*: init

* bustle: use gettext from nixpkgs

The vendored gettext fails to build with clang 16 on Darwin. The gettext in nixpkgs works.

* incus: fix OVMF path backward compatibility

incus 6.3.0 changed the OVMF path, but our module needs to support LTS
as well. Also move the newer OCI deps to be conditional on version.

* vscodium: 1.90.2.24171 -> 1.91.1.24193

* nixos/wrappers: use normal mount for /run/wrappers

We want to get rid of specialFileSystems / earlyMountScript eventually and
there is no need to run this before systemd anymore now that
the wrappers themselves are set up in a systemd unit since NixOS#263203

Also this is needed to make soft-reboot work. We want to make sure
that we remount /run/wrappers with the nosuid bit removed on soft-reboot
but because @earlyMountScript@ happens in initrd, this wouldn't happen

* xdg-desktop-portal-xapp: 1.0.7 -> 1.0.8

* cinnamon.pix: 3.4.1 -> 3.4.2

Also enable optional brasero / colord support.

linuxmint/pix@3.4.1...3.4.2

* cinnamon.cinnamon-session: 6.2.0 -> 6.2.1

* applet-window-buttons6: init at 0.13.0

* python312Packages.formulae: 0.5.3 -> 0.5.4

* python312Packages.tplink-omada-client: 1.4.0 -> 1.4.1

* tui-journal: 0.9.0 -> 0.9.1

* wstunnel: 9.7.2 -> 9.7.4

* iosevka: 30.3.2 -> 30.3.3

---------

Co-authored-by: Pavel Sobolev <[email protected]>
Co-authored-by: Peder Bergebakken Sundt <[email protected]>
Co-authored-by: Emily <[email protected]>
Co-authored-by: Martin Weinelt <[email protected]>
Co-authored-by: R. Ryantm <[email protected]>
Co-authored-by: Robert Scott <[email protected]>
Co-authored-by: Johannes Jöns <[email protected]>
Co-authored-by: nixpkgs-merge-bot[bot] <148217876+nixpkgs-merge-bot[bot]@users.noreply.github.com>
Co-authored-by: abysssol <[email protected]>
Co-authored-by: uncenter <[email protected]>
Co-authored-by: Fabian Affolter <[email protected]>
Co-authored-by: Fabian Affolter <[email protected]>
Co-authored-by: Jörg Thalheim <[email protected]>
Co-authored-by: José Romildo Malaquias <[email protected]>
Co-authored-by: x123 <[email protected]>
Co-authored-by: Thomas Gerbet <[email protected]>
Co-authored-by: Artturin <[email protected]>
Co-authored-by: K900 <[email protected]>
Co-authored-by: Adam C. Stephens <[email protected]>
Co-authored-by: Nick Cao <[email protected]>
Co-authored-by: Emily Trau <[email protected]>
Co-authored-by: Weijia Wang <[email protected]>
Co-authored-by: Yt <[email protected]>
Co-authored-by: Lin Jian <[email protected]>
Co-authored-by: Franz Pletz <[email protected]>
Co-authored-by: Audrey Dutcher <[email protected]>
Co-authored-by: Cole Helbling <[email protected]>
Co-authored-by: Martin Weinelt <[email protected]>
Co-authored-by: Robert Schütz <[email protected]>
Co-authored-by: Marcus Ramberg <[email protected]>
Co-authored-by: Randy Eckenrode <[email protected]>
Co-authored-by: Pol Dellaiera <[email protected]>
Co-authored-by: Alexis Hildebrandt <[email protected]>
Co-authored-by: lassulus <[email protected]>
Co-authored-by: Robert Schütz <[email protected]>
Co-authored-by: Alyssa Ross <[email protected]>
Co-authored-by: Masum Reza <[email protected]>
Co-authored-by: Thiago Kenji Okada <[email protected]>
Co-authored-by: Sandro <[email protected]>
Co-authored-by: Gutyina Gergő <[email protected]>
Co-authored-by: Benedikt Hiemer <[email protected]>
Co-authored-by: Maximilian Bosch <[email protected]>
Co-authored-by: Aleksana <[email protected]>
Co-authored-by: Guillaume Girol <[email protected]>
Co-authored-by: Someone Serge <[email protected]>
Co-authored-by: ❄️ <[email protected]>
Co-authored-by: Yorick <[email protected]>
Co-authored-by: Adam Stephens <[email protected]>
Co-authored-by: Leona Maroni <[email protected]>
Co-authored-by: Arian van Putten <[email protected]>
Co-authored-by: A1ca7raz <[email protected]>
Co-authored-by: John Ericson <[email protected]>
Co-authored-by: Bobby Rong <[email protected]>
Co-authored-by: Someone <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 12.approvals: 2 This PR was reviewed and approved by two reputable people
Projects
None yet
Development

Successfully merging this pull request may close these issues.