···234 The `{aclUse,superUser,disableActions}` attributes have been renamed, `pluginsConfig` now also accepts an attribute set of booleans, passing plain PHP is deprecated.
235 Same applies to `acl` which now also accepts structured settings.
23600237- 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`.
238239- To reduce closure size in `nixos/modules/profiles/minimal.nix` profile disabled installation documentations and manuals. Also disabled `logrotate` and `udisks2` services.
···234 The `{aclUse,superUser,disableActions}` attributes have been renamed, `pluginsConfig` now also accepts an attribute set of booleans, passing plain PHP is deprecated.
235 Same applies to `acl` which now also accepts structured settings.
236237+- 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.
238+239- 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`.
240241- To reduce closure size in `nixos/modules/profiles/minimal.nix` profile disabled installation documentations and manuals. Also disabled `logrotate` and `udisks2` services.
···84 description = "A set of common utilities, originally split from ScanCode";
85 homepage = "https://github.com/nexB/commoncode";
86 license = licenses.asl20;
87- maintainers = teams.determinatesystems.members;
88 };
89}
···84 description = "A set of common utilities, originally split from ScanCode";
85 homepage = "https://github.com/nexB/commoncode";
86 license = licenses.asl20;
87+ maintainers = [ ];
88 };
89}
···42 "--enable-multibyte"
43 "--with-tcsetpgrp"
44 "--enable-pcre"
45- "--enable-zprofile=${placeholder "out"}/etc/zprofile"
46 "--disable-site-fndir"
47 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform && !stdenv.hostPlatform.isStatic) [
48 # Also see: https://github.com/buildroot/buildroot/commit/2f32e668aa880c2d4a2cce6c789b7ca7ed6221ba
···64 postInstall = ''
65 make install.info install.html
66 mkdir -p $out/etc/
67- cat > $out/etc/zprofile <<EOF
68if test -e /etc/NIXOS; then
69- if test -r /etc/zprofile; then
70- . /etc/zprofile
71 else
72 emulate bash
73 alias shopt=false
74- . /etc/profile
0075 unalias shopt
76 emulate zsh
77 fi
78- if test -r /etc/zprofile.local; then
79- . /etc/zprofile.local
80 fi
81else
82- # on non-nixos we just source the global /etc/zprofile as if we did
83 # not use the configure flag
84- if test -r /etc/zprofile; then
85- . /etc/zprofile
86 fi
87fi
88EOF
89 ${if stdenv.hostPlatform == stdenv.buildPlatform then ''
90- $out/bin/zsh -c "zcompile $out/etc/zprofile"
91 '' else ''
92- ${lib.getBin buildPackages.zsh}/bin/zsh -c "zcompile $out/etc/zprofile"
93 ''}
94- mv $out/etc/zprofile $out/etc/zprofile_zwc_is_used
9596 rm $out/bin/zsh-${version}
97 mkdir -p $out/share/doc/
···42 "--enable-multibyte"
43 "--with-tcsetpgrp"
44 "--enable-pcre"
45+ "--enable-zshenv=${placeholder "out"}/etc/zshenv"
46 "--disable-site-fndir"
47 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform && !stdenv.hostPlatform.isStatic) [
48 # Also see: https://github.com/buildroot/buildroot/commit/2f32e668aa880c2d4a2cce6c789b7ca7ed6221ba
···64 postInstall = ''
65 make install.info install.html
66 mkdir -p $out/etc/
67+ cat > $out/etc/zshenv <<EOF
68if test -e /etc/NIXOS; then
69+ if test -r /etc/zshenv; then
70+ . /etc/zshenv
71 else
72 emulate bash
73 alias shopt=false
74+ if [ -z "$__NIXOS_SET_ENVIRONMENT_DONE" ]; then
75+ . /etc/set-environment
76+ fi
77 unalias shopt
78 emulate zsh
79 fi
80+ if test -r /etc/zshenv.local; then
81+ . /etc/zshenv.local
82 fi
83else
84+ # on non-nixos we just source the global /etc/zshenv as if we did
85 # not use the configure flag
86+ if test -r /etc/zshenv; then
87+ . /etc/zshenv
88 fi
89fi
90EOF
91 ${if stdenv.hostPlatform == stdenv.buildPlatform then ''
92+ $out/bin/zsh -c "zcompile $out/etc/zshenv"
93 '' else ''
94+ ${lib.getBin buildPackages.zsh}/bin/zsh -c "zcompile $out/etc/zshenv"
95 ''}
96+ mv $out/etc/zshenv $out/etc/zshenv_zwc_is_used
9798 rm $out/bin/zsh-${version}
99 mkdir -p $out/share/doc/
+2-1
pkgs/stdenv/generic/check-meta.nix
···113114 showLicenseOrSourceType = value: toString (map (v: v.shortName or "unknown") (lib.lists.toList value));
115 showLicense = showLicenseOrSourceType;
0116 showSourceType = showLicenseOrSourceType;
117118 pos_str = meta: meta.position or "«unknown-file»";
···368 else if !allowBroken && attrs.meta.broken or false then
369 { valid = "no"; reason = "broken"; errormsg = "is marked as broken"; }
370 else if !allowUnsupportedSystem && hasUnsupportedPlatform attrs then
371- { valid = "no"; reason = "unsupported"; errormsg = "is not supported on ‘${hostPlatform.system}’"; }
372 else if !(hasAllowedInsecure attrs) then
373 { valid = "no"; reason = "insecure"; errormsg = "is marked as insecure"; }
374
···113114 showLicenseOrSourceType = value: toString (map (v: v.shortName or "unknown") (lib.lists.toList value));
115 showLicense = showLicenseOrSourceType;
116+ showPlatforms = value: lib.optionalString (builtins.isList value && builtins.all builtins.isString value) (toString value);
117 showSourceType = showLicenseOrSourceType;
118119 pos_str = meta: meta.position or "«unknown-file»";
···369 else if !allowBroken && attrs.meta.broken or false then
370 { valid = "no"; reason = "broken"; errormsg = "is marked as broken"; }
371 else if !allowUnsupportedSystem && hasUnsupportedPlatform attrs then
372+ { valid = "no"; reason = "unsupported"; errormsg = "is only supported on `${showPlatforms attrs.meta.platforms}` but not on requested ‘${hostPlatform.system}’"; }
373 else if !(hasAllowedInsecure attrs) then
374 { valid = "no"; reason = "insecure"; errormsg = "is marked as insecure"; }
375