···162 If the command detaches, it must close stdout, as `execute` will wait
163 for this to consume all output reliably. This can be achieved by
164 redirecting stdout to stderr `>&2`, to `/dev/console`, `/dev/null` or
165- a file.
00166 Takes an optional parameter `check_return` that defaults to `True`.
167 Setting this parameter to `False` will not check for the return code
168 and return -1 instead. This can be used for commands that shut down
···183184 - Dereferencing unset variables fail the command.
185186- - It will wait for stdout to be closed. See `execute`.
0187188`fail`
189
···162 If the command detaches, it must close stdout, as `execute` will wait
163 for this to consume all output reliably. This can be achieved by
164 redirecting stdout to stderr `>&2`, to `/dev/console`, `/dev/null` or
165+ a file. Examples of detaching commands are `sleep 365d &`, where the
166+ shell forks a new process that can write to stdout and `xclip -i`, where
167+ the `xclip` command itself forks without closing stdout.
168 Takes an optional parameter `check_return` that defaults to `True`.
169 Setting this parameter to `False` will not check for the return code
170 and return -1 instead. This can be used for commands that shut down
···185186 - Dereferencing unset variables fail the command.
187188+ - It will wait for stdout to be closed. See `execute` for the
189+ implications.
190191`fail`
192
···271 for this to consume all output reliably. This can be achieved
272 by redirecting stdout to stderr <literal>>&2</literal>,
273 to <literal>/dev/console</literal>,
274- <literal>/dev/null</literal> or a file. Takes an optional
275- parameter <literal>check_return</literal> that defaults to
00000276 <literal>True</literal>. Setting this parameter to
277 <literal>False</literal> will not check for the return code
278 and return -1 instead. This can be used for commands that shut
···314 <listitem>
315 <para>
316 It will wait for stdout to be closed. See
317- <literal>execute</literal>.
318 </para>
319 </listitem>
320 </itemizedlist>
···271 for this to consume all output reliably. This can be achieved
272 by redirecting stdout to stderr <literal>>&2</literal>,
273 to <literal>/dev/console</literal>,
274+ <literal>/dev/null</literal> or a file. Examples of detaching
275+ commands are <literal>sleep 365d &</literal>, where the
276+ shell forks a new process that can write to stdout and
277+ <literal>xclip -i</literal>, where the
278+ <literal>xclip</literal> command itself forks without closing
279+ stdout. Takes an optional parameter
280+ <literal>check_return</literal> that defaults to
281 <literal>True</literal>. Setting this parameter to
282 <literal>False</literal> will not check for the return code
283 and return -1 instead. This can be used for commands that shut
···319 <listitem>
320 <para>
321 It will wait for stdout to be closed. See
322+ <literal>execute</literal> for the implications.
323 </para>
324 </listitem>
325 </itemizedlist>
···450 <para>
451 The NixOS VM test framework,
452 <literal>pkgs.nixosTest</literal>/<literal>make-test-python.nix</literal>,
453- now requires non-terminating commands such as
454- <literal>succeed("foo &")</literal> to close
455- stdout. This can be done with a redirect such as
0456 <literal>succeed("foo >&2 &")</literal>.
457 This breaking change was necessitated by a race condition
458 causing tests to fail or hang. It applies to all methods that
···1857 </para>
1858 </listitem>
1859 </itemizedlist>
000000001860 </listitem>
1861 </itemizedlist>
1862 </section>
···450 <para>
451 The NixOS VM test framework,
452 <literal>pkgs.nixosTest</literal>/<literal>make-test-python.nix</literal>,
453+ now requires detaching commands such as
454+ <literal>succeed("foo &")</literal> and
455+ <literal>succeed("foo | xclip -i")</literal> to
456+ close stdout. This can be done with a redirect such as
457 <literal>succeed("foo >&2 &")</literal>.
458 This breaking change was necessitated by a race condition
459 causing tests to fail or hang. It applies to all methods that
···1858 </para>
1859 </listitem>
1860 </itemizedlist>
1861+ </listitem>
1862+ <listitem>
1863+ <para>
1864+ <literal>security.pam.services.<name>.makeHomeDir</literal>
1865+ now uses <literal>umask=0077</literal> instead of
1866+ <literal>umask=0022</literal> when creating the home
1867+ directory.
1868+ </para>
1869 </listitem>
1870 </itemizedlist>
1871 </section>
+3-1
nixos/doc/manual/release-notes/rl-2111.section.md
···133134## Backward Incompatibilities {#sec-release-21.11-incompatibilities}
135136-- The NixOS VM test framework, `pkgs.nixosTest`/`make-test-python.nix`, now requires non-terminating commands such as `succeed("foo &")` to close stdout.
137 This can be done with a redirect such as `succeed("foo >&2 &")`. This breaking change was necessitated by a race condition causing tests to fail or hang.
138 It applies to all methods that invoke commands on the nodes, including `execute`, `succeed`, `fail`, `wait_until_succeeds`, `wait_until_fails`.
139···516 - The `services.unifi.dataDir` option is removed and the data is now always located under `/var/lib/unifi/data`. This is done to make better use of systemd state direcotiry and thus making the service restart more reliable.
517 - The unifi logs can now be found under: `/var/log/unifi` instead of `/var/lib/unifi/logs`.
518 - The unifi run directory can now be found under: `/run/unifi` instead of `/var/lib/unifi/run`.
00
···133134## Backward Incompatibilities {#sec-release-21.11-incompatibilities}
135136+- The NixOS VM test framework, `pkgs.nixosTest`/`make-test-python.nix`, now requires detaching commands such as `succeed("foo &")` and `succeed("foo | xclip -i")` to close stdout.
137 This can be done with a redirect such as `succeed("foo >&2 &")`. This breaking change was necessitated by a race condition causing tests to fail or hang.
138 It applies to all methods that invoke commands on the nodes, including `execute`, `succeed`, `fail`, `wait_until_succeeds`, `wait_until_fails`.
139···516 - The `services.unifi.dataDir` option is removed and the data is now always located under `/var/lib/unifi/data`. This is done to make better use of systemd state direcotiry and thus making the service restart more reliable.
517 - The unifi logs can now be found under: `/var/log/unifi` instead of `/var/lib/unifi/logs`.
518 - The unifi run directory can now be found under: `/run/unifi` instead of `/var/lib/unifi/run`.
519+520+- `security.pam.services.<name>.makeHomeDir` now uses `umask=0077` instead of `umask=0022` when creating the home directory.
···280 null;
281 example = "gnome";
282 description = ''
283- Graphical session to pre-select in the session chooser (only effective for GDM and LightDM).
284285 On GDM, LightDM and SDDM, it will also be used as a session for auto-login.
286 '';
···280 null;
281 example = "gnome";
282 description = ''
283+ Graphical session to pre-select in the session chooser (only effective for GDM, LightDM and SDDM).
284285 On GDM, LightDM and SDDM, it will also be used as a session for auto-login.
286 '';
···2324 meta = with lib; {
25 description = "Simulation construction toolkit";
26- homepage = "https://gitorious.org/fg/simgear";
27 maintainers = with maintainers; [ raskin ];
28 platforms = platforms.linux;
29 license = licenses.lgpl2;
···2324 meta = with lib; {
25 description = "Simulation construction toolkit";
26+ homepage = "https://wiki.flightgear.org/SimGear";
27 maintainers = with maintainers; [ raskin ];
28 platforms = platforms.linux;
29 license = licenses.lgpl2;
+1-1
pkgs/development/lua-modules/overrides.nix
···88 ];
89 });
9091- ljsyscall = prev.ljsyscall.overrideAttrs(oa: rec {
92 version = "unstable-20180515";
93 # package hasn't seen any release for a long time
94 src = pkgs.fetchFromGitHub {
···88 ];
89 });
9091+ ljsyscall = prev.lib.overrideLuarocks prev.ljsyscall (drv: rec {
92 version = "unstable-20180515";
93 # package hasn't seen any release for a long time
94 src = pkgs.fetchFromGitHub {
···4 pname = "statix";
5 # also update version of the vim plugin in pkgs/misc/vim-plugins/overrides.nix
6 # the version can be found in flake.nix of the source code
7- version = "0.3.6";
89 src = fetchFromGitHub {
10 owner = "nerdypepper";
11 repo = pname;
12 rev = "v${version}";
13- sha256 = "sha256-fsEqPr+qtLNmTtxUxjcVDPoG7fjqFImnVHwscy2IBkE=";
14 };
1516- cargoSha256 = "sha256-7fSJhRqZh7lUIe8vVzIVx+1phd+Am+GNzKN62NSuOYs=";
1718 cargoBuildFlags = lib.optionals withJson [ "--features" "json" ];
19
···4 pname = "statix";
5 # also update version of the vim plugin in pkgs/misc/vim-plugins/overrides.nix
6 # the version can be found in flake.nix of the source code
7+ version = "0.4.0";
89 src = fetchFromGitHub {
10 owner = "nerdypepper";
11 repo = pname;
12 rev = "v${version}";
13+ sha256 = "sha256-wqkhtAOO6pKLjUUnDbVFwzm6mbXhP/4iJU7ZKtDKrE8=";
14 };
1516+ cargoSha256 = "sha256-e20POz9ZvuT0S+YG+9x7hcudhXQpOR4rVSFJbz76OI0=";
1718 cargoBuildFlags = lib.optionals withJson [ "--features" "json" ];
19