···234234 The `{aclUse,superUser,disableActions}` attributes have been renamed, `pluginsConfig` now also accepts an attribute set of booleans, passing plain PHP is deprecated.
235235 Same applies to `acl` which now also accepts structured settings.
236236237237+- The `zsh` package changes the way to set environment variables on NixOS systems where `programs.zsh.enable` equals `false`. It now sources `/etc/set-environment` when reading the system-level `zshenv` file. Before, it sourced `/etc/profile` when reading the system-level `zprofile` file.
238238+237239- The `wordpress` service now takes configuration via the `services.wordpress.sites.<name>.settings` attribute set, `extraConfig` is still available to append additional text to `wp-config.php`.
238240239241- To reduce closure size in `nixos/modules/profiles/minimal.nix` profile disabled installation documentations and manuals. Also disabled `logrotate` and `udisks2` services.
···4242 "--enable-multibyte"
4343 "--with-tcsetpgrp"
4444 "--enable-pcre"
4545- "--enable-zprofile=${placeholder "out"}/etc/zprofile"
4545+ "--enable-zshenv=${placeholder "out"}/etc/zshenv"
4646 "--disable-site-fndir"
4747 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform && !stdenv.hostPlatform.isStatic) [
4848 # Also see: https://github.com/buildroot/buildroot/commit/2f32e668aa880c2d4a2cce6c789b7ca7ed6221ba
···6464 postInstall = ''
6565 make install.info install.html
6666 mkdir -p $out/etc/
6767- cat > $out/etc/zprofile <<EOF
6767+ cat > $out/etc/zshenv <<EOF
6868if test -e /etc/NIXOS; then
6969- if test -r /etc/zprofile; then
7070- . /etc/zprofile
6969+ if test -r /etc/zshenv; then
7070+ . /etc/zshenv
7171 else
7272 emulate bash
7373 alias shopt=false
7474- . /etc/profile
7474+ if [ -z "$__NIXOS_SET_ENVIRONMENT_DONE" ]; then
7575+ . /etc/set-environment
7676+ fi
7577 unalias shopt
7678 emulate zsh
7779 fi
7878- if test -r /etc/zprofile.local; then
7979- . /etc/zprofile.local
8080+ if test -r /etc/zshenv.local; then
8181+ . /etc/zshenv.local
8082 fi
8183else
8282- # on non-nixos we just source the global /etc/zprofile as if we did
8484+ # on non-nixos we just source the global /etc/zshenv as if we did
8385 # not use the configure flag
8484- if test -r /etc/zprofile; then
8585- . /etc/zprofile
8686+ if test -r /etc/zshenv; then
8787+ . /etc/zshenv
8688 fi
8789fi
8890EOF
8991 ${if stdenv.hostPlatform == stdenv.buildPlatform then ''
9090- $out/bin/zsh -c "zcompile $out/etc/zprofile"
9292+ $out/bin/zsh -c "zcompile $out/etc/zshenv"
9193 '' else ''
9292- ${lib.getBin buildPackages.zsh}/bin/zsh -c "zcompile $out/etc/zprofile"
9494+ ${lib.getBin buildPackages.zsh}/bin/zsh -c "zcompile $out/etc/zshenv"
9395 ''}
9494- mv $out/etc/zprofile $out/etc/zprofile_zwc_is_used
9696+ mv $out/etc/zshenv $out/etc/zshenv_zwc_is_used
95979698 rm $out/bin/zsh-${version}
9799 mkdir -p $out/share/doc/
+2-1
pkgs/stdenv/generic/check-meta.nix
···113113114114 showLicenseOrSourceType = value: toString (map (v: v.shortName or "unknown") (lib.lists.toList value));
115115 showLicense = showLicenseOrSourceType;
116116+ showPlatforms = value: lib.optionalString (builtins.isList value && builtins.all builtins.isString value) (toString value);
116117 showSourceType = showLicenseOrSourceType;
117118118119 pos_str = meta: meta.position or "«unknown-file»";
···368369 else if !allowBroken && attrs.meta.broken or false then
369370 { valid = "no"; reason = "broken"; errormsg = "is marked as broken"; }
370371 else if !allowUnsupportedSystem && hasUnsupportedPlatform attrs then
371371- { valid = "no"; reason = "unsupported"; errormsg = "is not supported on ‘${hostPlatform.system}’"; }
372372+ { valid = "no"; reason = "unsupported"; errormsg = "is only supported on `${showPlatforms attrs.meta.platforms}` but not on requested ‘${hostPlatform.system}’"; }
372373 else if !(hasAllowedInsecure attrs) then
373374 { valid = "no"; reason = "insecure"; errormsg = "is marked as insecure"; }
374375
+2-2
pkgs/tools/audio/abcmidi/default.nix
···2233stdenv.mkDerivation rec {
44 pname = "abcMIDI";
55- version = "2023.02.08";
55+ version = "2023.03.15";
6677 src = fetchzip {
88 url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip";
99- hash = "sha256-cJrRt+if3Ymn/nMCGsw2iObkRQF3hDxaUT9OEYp6j/g=";
99+ hash = "sha256-hLKaPfMZ5nmKRREvto2qd07mj88wEWADfFHNC+FZjIE=";
1010 };
11111212 meta = with lib; {