···3 <para>
4 If NixOS fails to boot, there are a number of kernel command line
5 parameters that may help you to identify or fix the issue. You can
6- add these parameters in the GRUB boot menu by pressing
7- <quote>e</quote> to modify the selected boot entry and editing the
8- line starting with <literal>linux</literal>. The following are some
9- useful kernel command line parameters that are recognised by the
10- NixOS boot scripts or by systemd:
11 </para>
12 <variablelist>
13 <varlistentry>
···44 <para>
45 Like <literal>boot.debug1</literal>, but runs stage1 until
46 kernel modules are loaded and device nodes are created. This
47- may help with e.g. making the keyboard work.
48 </para>
49 </listitem>
50 </varlistentry>
···117 if you’d chosen <quote>ignore the error and continue</quote>.
118 </para>
119 <para>
120- If no login prompts or X11 login screens appear (e.g. due to hanging
121 dependencies), you can press Alt+ArrowUp. If you’re lucky, this will
122 start rescue mode (described above). (Also note that since most
123 units have a 90-second timeout before systemd gives up on them, the
···3 <para>
4 If NixOS fails to boot, there are a number of kernel command line
5 parameters that may help you to identify or fix the issue. You can
6+ add these parameters in the GRUB boot menu by pressing “e” to modify
7+ the selected boot entry and editing the line starting with
8+ <literal>linux</literal>. The following are some useful kernel
9+ command line parameters that are recognised by the NixOS boot
10+ scripts or by systemd:
11 </para>
12 <variablelist>
13 <varlistentry>
···44 <para>
45 Like <literal>boot.debug1</literal>, but runs stage1 until
46 kernel modules are loaded and device nodes are created. This
47+ may help with e.g. making the keyboard work.
48 </para>
49 </listitem>
50 </varlistentry>
···117 if you’d chosen <quote>ignore the error and continue</quote>.
118 </para>
119 <para>
120+ If no login prompts or X11 login screens appear (e.g. due to hanging
121 dependencies), you can press Alt+ArrowUp. If you’re lucky, this will
122 start rescue mode (described above). (Also note that since most
123 units have a 90-second timeout before systemd gives up on them, the
···8DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
9pushd $DIR
1011+# NOTE: Keep in sync with Nixpkgs manual (/doc/Makefile).
12+# TODO: Remove raw-attribute when we can get rid of DocBook altogether.
13+pandoc_commonmark_enabled_extensions=+attributes+fenced_divs+footnotes+bracketed_spans+definition_lists+pipe_tables+raw_attribute
14+pandoc_flags=(
15+ # media extraction and diagram-generator.lua not needed
16+ "--lua-filter=$DIR/../../../doc/labelless-link-is-xref.lua"
17+ -f "commonmark${pandoc_commonmark_enabled_extensions}+smart"
18+ -t docbook
19+)
20+21OUT="$DIR/from_md"
22mapfile -t MD_FILES < <(find . -type f -regex '.*\.md$')
2324for mf in ${MD_FILES[*]}; do
25 if [ "${mf: -11}" == ".section.md" ]; then
26 mkdir -p $(dirname "$OUT/$mf")
27+ pandoc "$mf" "${pandoc_flags[@]}" \
28+ -o "$OUT/${mf%".section.md"}.section.xml"
0029 fi
3031 if [ "${mf: -11}" == ".chapter.md" ]; then
32 mkdir -p $(dirname "$OUT/$mf")
33+ pandoc "$mf" "${pandoc_flags[@]}" \
34 --top-level-division=chapter \
35+ -o "$OUT/${mf%".chapter.md"}.chapter.xml"
0036 fi
37done
38
+5-5
nixos/doc/manual/release-notes/rl-2111.section.md
···1-# Release 21.11 (“?”, 2021.11/??) {#release-21.11}
23In addition to numerous new and upgraded packages, this release has the following highlights:
45* Support is planned until the end of April 2022, handing over to 22.05.
67-## Highlights
89* PHP now defaults to PHP 8.0, updated from 7.4.
1011-## New Services
1213* [geoipupdate](https://github.com/maxmind/geoipupdate), a GeoIP
14 database updater from MaxMind. Available as
···22 implementation of the Common Address Redundancy Protocol (CARP). Available as
23 [networking.ucarp](options.html#opt-networking.ucarp.enable).
2425-## Backward Incompatibilities
2627* The `staticjinja` package has been upgraded from 1.0.4 to 2.0.0
28···85 - GitVersionTree
86 - NDeskOptions
8788-## Other Notable Changes
···1+# Release 21.11 (“?”, 2021.11/??) {#sec-release-21.11}
23In addition to numerous new and upgraded packages, this release has the following highlights:
45* Support is planned until the end of April 2022, handing over to 22.05.
67+## Highlights {#sec-release-21.11-highlights}
89* PHP now defaults to PHP 8.0, updated from 7.4.
1011+## New Services {#sec-release-21.11-new-services}
1213* [geoipupdate](https://github.com/maxmind/geoipupdate), a GeoIP
14 database updater from MaxMind. Available as
···22 implementation of the Common Address Redundancy Protocol (CARP). Available as
23 [networking.ucarp](options.html#opt-networking.ucarp.enable).
2425+## Backward Incompatibilities {#sec-release-21.11-incompatibilities}
2627* The `staticjinja` package has been upgraded from 1.0.4 to 2.0.0
28···85 - GitVersionTree
86 - NDeskOptions
8788+## Other Notable Changes {#sec-release-21.11-notable-changes}
···1-{ writeShellScript
02, coreutils
3, git
4, nix
···8# This is an updater for unstable packages that should always use the latest
9# commit.
10{ url ? null # The git url, if empty it will be set to src.url
011}:
1213let
···2526 # Get info about HEAD from a shallow git clone
27 tmpdir="$(${coreutils}/bin/mktemp -d)"
28- ${git}/bin/git clone --bare --depth=1 "$url" "$tmpdir"
0029 pushd "$tmpdir"
30 commit_date="$(${git}/bin/git show -s --pretty='format:%cs')"
31 commit_sha="$(${git}/bin/git show -s --pretty='format:%H')"
···1+{ lib
2+, writeShellScript
3, coreutils
4, git
5, nix
···9# This is an updater for unstable packages that should always use the latest
10# commit.
11{ url ? null # The git url, if empty it will be set to src.url
12+, branch ? null
13}:
1415let
···2728 # Get info about HEAD from a shallow git clone
29 tmpdir="$(${coreutils}/bin/mktemp -d)"
30+ ${git}/bin/git clone --bare --depth=1 \
31+ ${lib.optionalString (branch != null) "--branch ${branch}"} \
32+ "$url" "$tmpdir"
33 pushd "$tmpdir"
34 commit_date="$(${git}/bin/git show -s --pretty='format:%cs')"
35 commit_sha="$(${git}/bin/git show -s --pretty='format:%H')"
···7 pname = "xfce4-settings";
8 version = "4.16.2";
910- sha256 = "09npyqxsbrvz60bkbardqrizd5rvray5hkp84qgjzc10z4qrnk0f";
1112 postPatch = ''
13 for f in xfsettingsd/pointers.c dialogs/mouse-settings/main.c; do
···7 pname = "xfce4-settings";
8 version = "4.16.2";
910+ sha256 = "sha256-DkybMfkgsC8fJuhOWLzKO5f2Y8YtqzUXMH/npTv21yY=";
1112 postPatch = ''
13 for f in xfsettingsd/pointers.c dialogs/mouse-settings/main.c; do
···57in
5859stdenv.mkDerivation (recursiveUpdate template publicArgs // concatAttrLists [ template args ])
60+# TODO [ AndersonTorres ]: verify if it allows using hash attribute as an option to sha256
···12 version = "0.8.1";
1314 rev-prefix = "xfce4-datetime-plugin-";
15- sha256 = "06h13bmh2sni4qbr3kfnqaa5dq5f48h4xkywrm9pa6h2nyvn4rma";
1617 nativeBuildInputs = [
18 gettext
···2627 meta = with lib; {
28 description = "Shows the date and time in the panel, and a calendar appears when you left-click on it";
29- maintainers = [ maintainers.AndersonTorres ];
30 };
31}
···12 version = "0.8.1";
1314 rev-prefix = "xfce4-datetime-plugin-";
15+ sha256 = "sha256-qmZit7cCGnVTzdzPTiAiruBWlMLWzZEXJtFqAesaARo=";
1617 nativeBuildInputs = [
18 gettext
···2627 meta = with lib; {
28 description = "Shows the date and time in the panel, and a calendar appears when you left-click on it";
29+ maintainers = [ ];
30 };
31}
···18 # this derivation. However, we should ensure on version bumps
19 # that the CUDA toolkit for `passthru.tests` is still
20 # up-to-date.
21- version = "1.8.1";
22 device = if cudaSupport then "cuda" else "cpu";
23 srcs = import ./binary-hashes.nix version;
24 unavailable = throw "libtorch is not available for this platform";
···18 # this derivation. However, we should ensure on version bumps
19 # that the CUDA toolkit for `passthru.tests` is still
20 # up-to-date.
21+ version = "1.9.0";
22 device = if cudaSupport then "cuda" else "cpu";
23 srcs = import ./binary-hashes.nix version;
24 unavailable = throw "libtorch is not available for this platform";
···83 url = "https://github.com/tensorflow/tensorflow/commit/f3c4f4733692150fd6174f2cd16438cfaba2e5ab.patch";
84 sha256 = "0zx4hbz679kn79f30159rl1mq74dg45cvaawii0cyv48z472yy4k";
85 })
86+ # TODO: remove on the next version bump
87+ (fetchpatch {
88+ name = "cxxstandard-var.patch";
89+ url = "https://github.com/tensorflow/tensorflow/commit/9b128ae4200e10b4752f903492d1e7d11957ed5c.patch";
90+ sha256 = "1q0izdwdji5fbyqll6k4dmkzfykyvvz5cvc6hysdj285nkn2wy6h";
91+ })
92 ];
9394 buildInputs = [ zlib flatbuffers ];
···146 # tensorflow lite expects to compile abseil into `libtensorflow-lite.a`
147 ln -s ${abseil-cpp.src} "$prefix/absl"
148149+ # set CXXSTANDARD=c++17 here because abseil-cpp in nixpkgs is set as
150+ # such and would be used in dependents like libedgetpu
151+ buildFlagsArray+=(
152+ INCLUDES="-I $PWD ${includes}"
153+ CXXSTANDARD="-std=c++17"
154+ TARGET_TOOLCHAIN_PREFIX=""
155+ -j$NIX_BUILD_CORES
156+ all)
157 '';
158159 installPhase = ''
···1213buildPythonPackage rec {
14 pname = "pydaikin";
15- version = "2.4.2";
16 disabled = pythonOlder "3.6";
1718 src = fetchFromBitbucket {
19 owner = "mustang51";
20 repo = pname;
21 rev = "v${version}";
22- sha256 = "13cslszjhd1x7j0ja0n0wpy62hb2sdmkrmjl3qhwqfggps2w2wy1";
23 };
2425 propagatedBuildInputs = [
···28 urllib3
29 ];
3031- # while they have tests, they do not run them in their CI and they fail as of 2.4.2
32 # AttributeError: 'DaikinBRP069' object has no attribute 'last_hour_cool_energy_consumption'
33 doCheck = false;
34
···1213buildPythonPackage rec {
14 pname = "pydaikin";
15+ version = "2.4.3";
16 disabled = pythonOlder "3.6";
1718 src = fetchFromBitbucket {
19 owner = "mustang51";
20 repo = pname;
21 rev = "v${version}";
22+ sha256 = "0i013ma2fs6an3izak6zbs9lbr4l7b5x54d0xagw6gqf5n8dsclq";
23 };
2425 propagatedBuildInputs = [
···28 urllib3
29 ];
3031+ # while they have tests, they do not run them in their CI and they fail as of 2.4.3
32 # AttributeError: 'DaikinBRP069' object has no attribute 'last_hour_cool_energy_consumption'
33 doCheck = false;
34