···33 <para>
44 If NixOS fails to boot, there are a number of kernel command line
55 parameters that may help you to identify or fix the issue. You can
66- add these parameters in the GRUB boot menu by pressing
77- <quote>e</quote> to modify the selected boot entry and editing the
88- line starting with <literal>linux</literal>. The following are some
99- useful kernel command line parameters that are recognised by the
1010- NixOS boot scripts or by systemd:
66+ add these parameters in the GRUB boot menu by pressing “e” to modify
77+ the selected boot entry and editing the line starting with
88+ <literal>linux</literal>. The following are some useful kernel
99+ command line parameters that are recognised by the NixOS boot
1010+ scripts or by systemd:
1111 </para>
1212 <variablelist>
1313 <varlistentry>
···4444 <para>
4545 Like <literal>boot.debug1</literal>, but runs stage1 until
4646 kernel modules are loaded and device nodes are created. This
4747- may help with e.g. making the keyboard work.
4747+ may help with e.g. making the keyboard work.
4848 </para>
4949 </listitem>
5050 </varlistentry>
···117117 if you’d chosen <quote>ignore the error and continue</quote>.
118118 </para>
119119 <para>
120120- If no login prompts or X11 login screens appear (e.g. due to hanging
120120+ If no login prompts or X11 login screens appear (e.g. due to hanging
121121 dependencies), you can press Alt+ArrowUp. If you’re lucky, this will
122122 start rescue mode (described above). (Also note that since most
123123 units have a 90-second timeout before systemd gives up on them, the
···88DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
99pushd $DIR
10101111+# NOTE: Keep in sync with Nixpkgs manual (/doc/Makefile).
1212+# TODO: Remove raw-attribute when we can get rid of DocBook altogether.
1313+pandoc_commonmark_enabled_extensions=+attributes+fenced_divs+footnotes+bracketed_spans+definition_lists+pipe_tables+raw_attribute
1414+pandoc_flags=(
1515+ # media extraction and diagram-generator.lua not needed
1616+ "--lua-filter=$DIR/../../../doc/labelless-link-is-xref.lua"
1717+ -f "commonmark${pandoc_commonmark_enabled_extensions}+smart"
1818+ -t docbook
1919+)
2020+1121OUT="$DIR/from_md"
1222mapfile -t MD_FILES < <(find . -type f -regex '.*\.md$')
13231424for mf in ${MD_FILES[*]}; do
1525 if [ "${mf: -11}" == ".section.md" ]; then
1626 mkdir -p $(dirname "$OUT/$mf")
1717- pandoc "$mf" -t docbook \
1818- --extract-media=media \
1919- -f markdown+smart \
2020- | cat > "$OUT/${mf%".section.md"}.section.xml"
2727+ pandoc "$mf" "${pandoc_flags[@]}" \
2828+ -o "$OUT/${mf%".section.md"}.section.xml"
2129 fi
22302331 if [ "${mf: -11}" == ".chapter.md" ]; then
2432 mkdir -p $(dirname "$OUT/$mf")
2525- pandoc "$mf" -t docbook \
3333+ pandoc "$mf" "${pandoc_flags[@]}" \
2634 --top-level-division=chapter \
2727- --extract-media=media \
2828- -f markdown+smart \
2929- | cat > "$OUT/${mf%".chapter.md"}.chapter.xml"
3535+ -o "$OUT/${mf%".chapter.md"}.chapter.xml"
3036 fi
3137done
3238
+5-5
nixos/doc/manual/release-notes/rl-2111.section.md
···11-# Release 21.11 (“?”, 2021.11/??) {#release-21.11}
11+# Release 21.11 (“?”, 2021.11/??) {#sec-release-21.11}
2233In addition to numerous new and upgraded packages, this release has the following highlights:
4455* Support is planned until the end of April 2022, handing over to 22.05.
6677-## Highlights
77+## Highlights {#sec-release-21.11-highlights}
8899* PHP now defaults to PHP 8.0, updated from 7.4.
10101111-## New Services
1111+## New Services {#sec-release-21.11-new-services}
12121313* [geoipupdate](https://github.com/maxmind/geoipupdate), a GeoIP
1414 database updater from MaxMind. Available as
···2222 implementation of the Common Address Redundancy Protocol (CARP). Available as
2323 [networking.ucarp](options.html#opt-networking.ucarp.enable).
24242525-## Backward Incompatibilities
2525+## Backward Incompatibilities {#sec-release-21.11-incompatibilities}
26262727* The `staticjinja` package has been upgraded from 1.0.4 to 2.0.0
2828···8585 - GitVersionTree
8686 - NDeskOptions
87878888-## Other Notable Changes
8888+## Other Notable Changes {#sec-release-21.11-notable-changes}
···11-{ writeShellScript
11+{ lib
22+, writeShellScript
23, coreutils
34, git
45, nix
···89# This is an updater for unstable packages that should always use the latest
910# commit.
1011{ url ? null # The git url, if empty it will be set to src.url
1212+, branch ? null
1113}:
12141315let
···25272628 # Get info about HEAD from a shallow git clone
2729 tmpdir="$(${coreutils}/bin/mktemp -d)"
2828- ${git}/bin/git clone --bare --depth=1 "$url" "$tmpdir"
3030+ ${git}/bin/git clone --bare --depth=1 \
3131+ ${lib.optionalString (branch != null) "--branch ${branch}"} \
3232+ "$url" "$tmpdir"
2933 pushd "$tmpdir"
3034 commit_date="$(${git}/bin/git show -s --pretty='format:%cs')"
3135 commit_sha="$(${git}/bin/git show -s --pretty='format:%H')"
···5757in
58585959stdenv.mkDerivation (recursiveUpdate template publicArgs // concatAttrLists [ template args ])
6060+# TODO [ AndersonTorres ]: verify if it allows using hash attribute as an option to sha256
···1212 version = "0.8.1";
13131414 rev-prefix = "xfce4-datetime-plugin-";
1515- sha256 = "06h13bmh2sni4qbr3kfnqaa5dq5f48h4xkywrm9pa6h2nyvn4rma";
1515+ sha256 = "sha256-qmZit7cCGnVTzdzPTiAiruBWlMLWzZEXJtFqAesaARo=";
16161717 nativeBuildInputs = [
1818 gettext
···26262727 meta = with lib; {
2828 description = "Shows the date and time in the panel, and a calendar appears when you left-click on it";
2929- maintainers = [ maintainers.AndersonTorres ];
2929+ maintainers = [ ];
3030 };
3131}
···1818 # this derivation. However, we should ensure on version bumps
1919 # that the CUDA toolkit for `passthru.tests` is still
2020 # up-to-date.
2121- version = "1.8.1";
2121+ version = "1.9.0";
2222 device = if cudaSupport then "cuda" else "cpu";
2323 srcs = import ./binary-hashes.nix version;
2424 unavailable = throw "libtorch is not available for this platform";
···8383 url = "https://github.com/tensorflow/tensorflow/commit/f3c4f4733692150fd6174f2cd16438cfaba2e5ab.patch";
8484 sha256 = "0zx4hbz679kn79f30159rl1mq74dg45cvaawii0cyv48z472yy4k";
8585 })
8686+ # TODO: remove on the next version bump
8787+ (fetchpatch {
8888+ name = "cxxstandard-var.patch";
8989+ url = "https://github.com/tensorflow/tensorflow/commit/9b128ae4200e10b4752f903492d1e7d11957ed5c.patch";
9090+ sha256 = "1q0izdwdji5fbyqll6k4dmkzfykyvvz5cvc6hysdj285nkn2wy6h";
9191+ })
8692 ];
87938894 buildInputs = [ zlib flatbuffers ];
···140146 # tensorflow lite expects to compile abseil into `libtensorflow-lite.a`
141147 ln -s ${abseil-cpp.src} "$prefix/absl"
142148143143- buildFlagsArray+=(INCLUDES="-I $PWD ${includes}" TARGET_TOOLCHAIN_PREFIX="" -j$NIX_BUILD_CORES all)
149149+ # set CXXSTANDARD=c++17 here because abseil-cpp in nixpkgs is set as
150150+ # such and would be used in dependents like libedgetpu
151151+ buildFlagsArray+=(
152152+ INCLUDES="-I $PWD ${includes}"
153153+ CXXSTANDARD="-std=c++17"
154154+ TARGET_TOOLCHAIN_PREFIX=""
155155+ -j$NIX_BUILD_CORES
156156+ all)
144157 '';
145158146159 installPhase = ''
···12121313buildPythonPackage rec {
1414 pname = "pydaikin";
1515- version = "2.4.2";
1515+ version = "2.4.3";
1616 disabled = pythonOlder "3.6";
17171818 src = fetchFromBitbucket {
1919 owner = "mustang51";
2020 repo = pname;
2121 rev = "v${version}";
2222- sha256 = "13cslszjhd1x7j0ja0n0wpy62hb2sdmkrmjl3qhwqfggps2w2wy1";
2222+ sha256 = "0i013ma2fs6an3izak6zbs9lbr4l7b5x54d0xagw6gqf5n8dsclq";
2323 };
24242525 propagatedBuildInputs = [
···2828 urllib3
2929 ];
30303131- # while they have tests, they do not run them in their CI and they fail as of 2.4.2
3131+ # while they have tests, they do not run them in their CI and they fail as of 2.4.3
3232 # AttributeError: 'DaikinBRP069' object has no attribute 'last_hour_cool_energy_consumption'
3333 doCheck = false;
3434