···614 <listitem>
615 <para>
616 The <literal>staticjinja</literal> package has been upgraded
617- from 1.0.4 to 4.1.0
618 </para>
619 </listitem>
620 <listitem>
···614 <listitem>
615 <para>
616 The <literal>staticjinja</literal> package has been upgraded
617+ from 1.0.4 to 4.1.1
618 </para>
619 </listitem>
620 <listitem>
+1-1
nixos/doc/manual/release-notes/rl-2111.section.md
···202 Superuser created successfully.
203 ```
204205-- The `staticjinja` package has been upgraded from 1.0.4 to 4.1.0
206207- Firefox v91 does not support addons with invalid signature anymore. Firefox ESR needs to be used for nix addon support.
208
···202 Superuser created successfully.
203 ```
204205+- The `staticjinja` package has been upgraded from 1.0.4 to 4.1.1
206207- Firefox v91 does not support addons with invalid signature anymore. Firefox ESR needs to be used for nix addon support.
208
···390 diskImage=$(pwd)/disk-image.qcow2
391 origImage=${attrs.diskImage}
392 if test -d "$origImage"; then origImage="$origImage/disk-image.qcow2"; fi
393- ${qemu}/bin/qemu-img create -b "$origImage" -f qcow2 $diskImage
394 '';
395396 /* Inside the VM, run the stdenv setup script normally, but at the
···390 diskImage=$(pwd)/disk-image.qcow2
391 origImage=${attrs.diskImage}
392 if test -d "$origImage"; then origImage="$origImage/disk-image.qcow2"; fi
393+ ${qemu}/bin/qemu-img create -F ${attrs.diskImageFormat} -b "$origImage" -f qcow2 $diskImage
394 '';
395396 /* Inside the VM, run the stdenv setup script normally, but at the
···132 # from https://github.com/ldc-developers/ldc/blob/master/LICENSE
133 license = with licenses; [ bsd3 boost mit ncsa gpl2Plus ];
134 maintainers = with maintainers; [ ThomasMader lionello ];
135- platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
136 };
137}
···132 # from https://github.com/ldc-developers/ldc/blob/master/LICENSE
133 license = with licenses; [ bsd3 boost mit ncsa gpl2Plus ];
134 maintainers = with maintainers; [ ThomasMader lionello ];
135+ platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-darwin" ];
136 };
137}
+1-1
pkgs/development/compilers/ocaml/generic.nix
···76 preConfigure = optionalString (!lib.versionAtLeast version "4.04") ''
77 CAT=$(type -tp cat)
78 sed -e "s@/bin/cat@$CAT@" -i config/auto-aux/sharpbang
79- '' + optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
80 # Do what upstream does by default now: https://github.com/ocaml/ocaml/pull/10176
81 # This is required for aarch64-darwin, everything else works as is.
82 AS="${stdenv.cc}/bin/cc -c" ASPP="${stdenv.cc}/bin/cc -c"
···76 preConfigure = optionalString (!lib.versionAtLeast version "4.04") ''
77 CAT=$(type -tp cat)
78 sed -e "s@/bin/cat@$CAT@" -i config/auto-aux/sharpbang
79+ '' + optionalString (stdenv.isDarwin && !lib.versionAtLeast version "4.13") ''
80 # Do what upstream does by default now: https://github.com/ocaml/ocaml/pull/10176
81 # This is required for aarch64-darwin, everything else works as is.
82 AS="${stdenv.cc}/bin/cc -c" ASPP="${stdenv.cc}/bin/cc -c"
···14 # darwin changes configure.ac which means we need to regenerate
15 # the configure scripts
16 nativeBuildInputs = [ autoreconfHook ];
17- buildInputs = [ libmd ];
1819 patches = [ ./darwin.patch ];
20
···14 # darwin changes configure.ac which means we need to regenerate
15 # the configure scripts
16 nativeBuildInputs = [ autoreconfHook ];
17+ propagatedBuildInputs = [ libmd ];
1819 patches = [ ./darwin.patch ];
20
···1+#!/usr/bin/env nix-shell
2+#!nix-shell -p nix-update -i bash
3+# shellcheck shell=bash
4+5+set -o errexit -o pipefail -o nounset -o errtrace
6+shopt -s inherit_errexit
7+shopt -s nullglob
8+IFS=$'\n'
9+10+NIXPKGS_ROOT="$(git rev-parse --show-toplevel)"
11+12+cd "$NIXPKGS_ROOT"
13+nix-update pipewire
14+outputs=$(nix-build . -A pipewire)
15+for p in $outputs; do
16+ conf_files=$(find "$p/nix-support/" -name '*.conf.json')
17+ for c in $conf_files; do
18+ file_name=$(basename "$c")
19+ if [[ ! -e "nixos/modules/services/desktops/pipewire/daemon/$file_name" ]]; then
20+ echo "New file $file_name found! Add it to the module config and passthru tests!"
21+ fi
22+ install -m 0644 "$c" "nixos/modules/services/desktops/pipewire/daemon/"
23+ done
24+done
25+
-37
pkgs/development/libraries/pipewire/update.sh
···1-#!/usr/bin/env nix-shell
2-#!nix-shell -p nix-update -i bash
3-# shellcheck shell=bash
4-5-set -o errexit -o pipefail -o nounset -o errtrace
6-shopt -s inherit_errexit
7-shopt -s nullglob
8-IFS=$'\n'
9-10-NIXPKGS_ROOT="$(git rev-parse --show-toplevel)"
11-12-cd "$NIXPKGS_ROOT"
13-nix-update pipewire
14-outputs=$(nix-build . -A pipewire)
15-for p in $outputs; do
16- conf_files=$(find "$p/nix-support/" -name '*.conf.json')
17- for c in $conf_files; do
18- file_name=$(basename "$c")
19- if [[ ! -e "nixos/modules/services/desktops/pipewire/daemon/$file_name" ]]; then
20- echo "New file $file_name found! Add it to the module config and passthru tests!"
21- fi
22- install -m 0644 "$c" "nixos/modules/services/desktops/pipewire/daemon/"
23- done
24-done
25-26-nix-update pipewire-media-session
27-outputs=$(nix-build . -A pipewire-media-session)
28-for p in $outputs; do
29- conf_files=$(find "$p/nix-support/" -name '*.conf.json')
30- for c in $conf_files; do
31- file_name=$(basename "$c")
32- if [[ ! -e "nixos/modules/services/desktops/pipewire/media-session/$file_name" ]]; then
33- echo "New file $file_name found! Add it to the module config and passthru tests!"
34- fi
35- install -m 0644 "$c" "nixos/modules/services/desktops/pipewire/media-session/"
36- done
37-done
···776 ];
777 });
7780000779 # change the go_bin_path to point to a path in the nix store. See the code in
780 # fatih/vim-go here
781 # https://github.com/fatih/vim-go/blob/155836d47052ea9c9bac81ba3e937f6f22c8e384/autoload/go/path.vim#L154-L159
···776 ];
777 });
778779+ vim-fzf-coauthorship = super.vim-fzf-coauthorship.overrideAttrs (old: {
780+ dependencies = with self; [ fzf-vim ];
781+ });
782+783 # change the go_bin_path to point to a path in the nix store. See the code in
784 # fatih/vim-go here
785 # https://github.com/fatih/vim-go/blob/155836d47052ea9c9bac81ba3e937f6f22c8e384/autoload/go/path.vim#L154-L159
···23let
4 # having the full version string here makes it easier to update
5- modDirVersion = "5.14.15-zen1";
6 parts = lib.splitString "-" modDirVersion;
7 version = lib.elemAt parts 0;
8 suffix = lib.elemAt parts 1;
···19 owner = "zen-kernel";
20 repo = "zen-kernel";
21 rev = "v${modDirVersion}";
22- sha256 = "sha256-2nShtZodkPBCbGdK0dI+RGTRS5/JOUP/7//L//MJI4c=";
23 };
2425 structuredExtraConfig = with lib.kernel; {
···23let
4 # having the full version string here makes it easier to update
5+ modDirVersion = "5.15.1-zen1";
6 parts = lib.splitString "-" modDirVersion;
7 version = lib.elemAt parts 0;
8 suffix = lib.elemAt parts 1;
···19 owner = "zen-kernel";
20 repo = "zen-kernel";
21 rev = "v${modDirVersion}";
22+ sha256 = "sha256-mDAwsqLR55WFaPKO1SXZuxeuaFzprMY4ryeEUdCqKGU=";
23 };
2425 structuredExtraConfig = with lib.kernel; {
+26-6
pkgs/os-specific/linux/waydroid/default.nix
···3, fetchFromGitHub
4, python3Packages
5, dnsmasq
006, lxc
007, nftables
8-, python
009}:
1011python3Packages.buildPythonApplication rec {
12 pname = "waydroid";
13- version = "1.1.1";
1415 src = fetchFromGitHub {
16 owner = pname;
17 repo = pname;
18 rev = version;
19- sha256 = "0cabh7rysh2v15wrxg250370mw26s5d073yxmczxsarbp4ri2pl4";
20 };
2122 propagatedBuildInputs = with python3Packages; [
23 gbinder-python
024 pygobject3
25 ];
26···3637 cp -ra data $out/${python3Packages.python.sitePackages}/data
38 wrapProgram $out/${python3Packages.python.sitePackages}/data/scripts/waydroid-net.sh \
39- --prefix PATH ":" ${lib.makeBinPath [ dnsmasq nftables ]}
4041 mkdir -p $out/share/waydroid/gbinder.d
42 cp gbinder/anbox.conf $out/share/waydroid/gbinder.d/anbox.conf
4300044 mkdir $out/bin
45 cp -a waydroid.py $out/${python3Packages.python.sitePackages}/waydroid.py
46 ln -s $out/${python3Packages.python.sitePackages}/waydroid.py $out/bin/waydroid
4748- wrapPythonProgramsIn $out/${python3Packages.python.sitePackages} "$out ${python3Packages.gbinder-python} ${python3Packages.pygobject3} ${lxc}"
000000000049 '';
5051 meta = with lib; {
52- description = "Waydroid is a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.";
53 homepage = "https://github.com/waydroid/waydroid";
54 license = licenses.gpl3;
55 platforms = platforms.linux;
···2# Do not edit!
34{
5- version = "2021.11.0";
6 components = {
7 "abode" = ps: with ps; [ abodepy ];
8 "accuweather" = ps: with ps; [ accuweather ];
···631 "owntracks" = ps: with ps; [ pynacl pyturbojpeg aiohttp-cors hass-nabucasa paho-mqtt ];
632 "ozw" = ps: with ps; [ aiohttp-cors paho-mqtt python-openzwave-mqtt ];
633 "p1_monitor" = ps: with ps; [ p1monitor ];
634- "panasonic_bluray" = ps: with ps; [ ]; # missing inputs: panacotta
635 "panasonic_viera" = ps: with ps; [ ]; # missing inputs: panasonic_viera
636 "pandora" = ps: with ps; [ pexpect ];
637 "panel_custom" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
···713 "ripple" = ps: with ps; [ ]; # missing inputs: python-ripple-api
714 "risco" = ps: with ps; [ pyrisco ];
715 "rituals_perfume_genie" = ps: with ps; [ pyrituals ];
716- "rmvtransport" = ps: with ps; [ PyRMVtransport ];
717 "rocketchat" = ps: with ps; [ ]; # missing inputs: rocketchat-API
718 "roku" = ps: with ps; [ rokuecp ];
719 "roomba" = ps: with ps; [ roombapy ];
···890 "touchline" = ps: with ps; [ ]; # missing inputs: pytouchline
891 "tplink" = ps: with ps; [ aiohttp-cors ifaddr python-kasa ];
892 "tplink_lte" = ps: with ps; [ ]; # missing inputs: tp-connected
893- "traccar" = ps: with ps; [ aiohttp-cors stringcase ]; # missing inputs: pytraccar
894 "trace" = ps: with ps; [ ];
895 "tractive" = ps: with ps; [ aiotractive ];
896 "tradfri" = ps: with ps; [ pytradfri ];
···922 "updater" = ps: with ps; [ ];
923 "upnp" = ps: with ps; [ aiohttp-cors async-upnp-client ifaddr zeroconf ];
924 "uptime" = ps: with ps; [ ];
925- "uptimerobot" = ps: with ps; [ ]; # missing inputs: pyuptimerobot
926 "usb" = ps: with ps; [ aiohttp-cors pyserial pyudev ];
927 "uscis" = ps: with ps; [ ]; # missing inputs: uscisstatus
928 "usgs_earthquakes_feed" = ps: with ps; [ geojson-client ];
···2# Do not edit!
34{
5+ version = "2021.11.2";
6 components = {
7 "abode" = ps: with ps; [ abodepy ];
8 "accuweather" = ps: with ps; [ accuweather ];
···631 "owntracks" = ps: with ps; [ pynacl pyturbojpeg aiohttp-cors hass-nabucasa paho-mqtt ];
632 "ozw" = ps: with ps; [ aiohttp-cors paho-mqtt python-openzwave-mqtt ];
633 "p1_monitor" = ps: with ps; [ p1monitor ];
634+ "panasonic_bluray" = ps: with ps; [ panacotta ];
635 "panasonic_viera" = ps: with ps; [ ]; # missing inputs: panasonic_viera
636 "pandora" = ps: with ps; [ pexpect ];
637 "panel_custom" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
···713 "ripple" = ps: with ps; [ ]; # missing inputs: python-ripple-api
714 "risco" = ps: with ps; [ pyrisco ];
715 "rituals_perfume_genie" = ps: with ps; [ pyrituals ];
716+ "rmvtransport" = ps: with ps; [ pyrmvtransport ];
717 "rocketchat" = ps: with ps; [ ]; # missing inputs: rocketchat-API
718 "roku" = ps: with ps; [ rokuecp ];
719 "roomba" = ps: with ps; [ roombapy ];
···890 "touchline" = ps: with ps; [ ]; # missing inputs: pytouchline
891 "tplink" = ps: with ps; [ aiohttp-cors ifaddr python-kasa ];
892 "tplink_lte" = ps: with ps; [ ]; # missing inputs: tp-connected
893+ "traccar" = ps: with ps; [ aiohttp-cors pytraccar stringcase ];
894 "trace" = ps: with ps; [ ];
895 "tractive" = ps: with ps; [ aiotractive ];
896 "tradfri" = ps: with ps; [ pytradfri ];
···922 "updater" = ps: with ps; [ ];
923 "upnp" = ps: with ps; [ aiohttp-cors async-upnp-client ifaddr zeroconf ];
924 "uptime" = ps: with ps; [ ];
925+ "uptimerobot" = ps: with ps; [ pyuptimerobot ];
926 "usb" = ps: with ps; [ aiohttp-cors pyserial pyudev ];
927 "uscis" = ps: with ps; [ ]; # missing inputs: uscisstatus
928 "usgs_earthquakes_feed" = ps: with ps; [ geojson-client ];
+4-2
pkgs/servers/home-assistant/default.nix
···127 extraBuildInputs = extraPackages py.pkgs;
128129 # Don't forget to run parse-requirements.py after updating
130- hassVersion = "2021.11.0";
131132in with py.pkgs; buildPythonApplication rec {
133 pname = "homeassistant";
···144 owner = "home-assistant";
145 repo = "core";
146 rev = version;
147- sha256 = "1bhm2ahc9fvh3czhfim3la0vdwdis2r86fa0qldqpnh11v25hb2s";
148 };
149150 # leave this in, so users don't have to constantly update their downstream patch handling
···662 "toon"
663 "totalconnect"
664 "tplink"
0665 "trace"
666 "tradfri"
667 "transmission"
···683 # disabled, because it tries to join a multicast group and fails to find a usable network interface
684 # "upnp"
685 "uptime"
0686 "usgs_earthquakes_feed"
687 "utility_meter"
688 "uvc"
···127 extraBuildInputs = extraPackages py.pkgs;
128129 # Don't forget to run parse-requirements.py after updating
130+ hassVersion = "2021.11.2";
131132in with py.pkgs; buildPythonApplication rec {
133 pname = "homeassistant";
···144 owner = "home-assistant";
145 repo = "core";
146 rev = version;
147+ sha256 = "13212h67ijvir8rlr4gpd2945xx5f5c2lj3bwg7ncw55r23h6hma";
148 };
149150 # leave this in, so users don't have to constantly update their downstream patch handling
···662 "toon"
663 "totalconnect"
664 "tplink"
665+ "traccar"
666 "trace"
667 "tradfri"
668 "transmission"
···684 # disabled, because it tries to join a multicast group and fails to find a usable network interface
685 # "upnp"
686 "uptime"
687+ "uptimerobot"
688 "usgs_earthquakes_feed"
689 "utility_meter"
690 "uvc"
+2-2
pkgs/servers/home-assistant/frontend.nix
···4 # the frontend version corresponding to a specific home-assistant version can be found here
5 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
6 pname = "home-assistant-frontend";
7- version = "20211103.0";
89 src = fetchPypi {
10 inherit pname version;
11- sha256 = "sha256-gny97mYHNwQ8KderebfLALCbIyddbwRoD5Ux6ahDdVk=";
12 };
1314 # there is nothing to strip in this package
···4 # the frontend version corresponding to a specific home-assistant version can be found here
5 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
6 pname = "home-assistant-frontend";
7+ version = "20211108.0";
89 src = fetchPypi {
10 inherit pname version;
11+ sha256 = "sha256-cMCjBhtPi73AB9bplUH8ZNQMt5WJ/NZFW4qLuHHo3+g=";
12 };
1314 # there is nothing to strip in this package
···1-{ lib, fetchurl, buildPythonPackage
2, zip, ffmpeg, rtmpdump, phantomjs2, atomicparsley, pycryptodome, pandoc
3# Pandoc is required to build the package's man page. Release tarballs contain a
4# formatted man page already, though, it will still be installed. We keep the
···24 url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz";
25 sha256 = "1hqan9h55x9gfdakw554vic68w9gpvhblchwxlw265zxp56hxjrw";
26 };
000000000000002728 nativeBuildInputs = [ installShellFiles makeWrapper ];
29 buildInputs = [ zip ] ++ lib.optional generateManPage pandoc;
···1+{ lib, fetchurl, fetchpatch, buildPythonPackage
2, zip, ffmpeg, rtmpdump, phantomjs2, atomicparsley, pycryptodome, pandoc
3# Pandoc is required to build the package's man page. Release tarballs contain a
4# formatted man page already, though, it will still be installed. We keep the
···24 url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz";
25 sha256 = "1hqan9h55x9gfdakw554vic68w9gpvhblchwxlw265zxp56hxjrw";
26 };
27+28+ patches = [
29+ # Fixes throttling on youtube.com. Without the patch downloads are capped at
30+ # about 80KiB/s. See, e.g.,
31+ #
32+ # https://github.com/ytdl-org/youtube-dl/issues/29326
33+ #
34+ # The patch comes from PR https://github.com/ytdl-org/youtube-dl/pull/30188
35+ (fetchpatch {
36+ name = "fix-youtube-dl-speed.patch";
37+ url = "https://github.com/ytdl-org/youtube-dl/pull/30188.patch";
38+ sha256 = "15liban37ina2y4bnykfdywdy4rbkfff2r6vd0kqn2k7rfkcczyz";
39+ })
40+ ];
4142 nativeBuildInputs = [ installShellFiles makeWrapper ];
43 buildInputs = [ zip ] ++ lib.optional generateManPage pandoc;
+2-2
pkgs/tools/misc/yt-dlp/default.nix
···20 # The websites yt-dlp deals with are a very moving target. That means that
21 # downloads break constantly. Because of that, updates should always be backported
22 # to the latest stable release.
23- version = "2021.10.22";
2425 src = fetchPypi {
26 inherit pname;
27 version = builtins.replaceStrings [ ".0" ] [ "." ] version;
28- sha256 = "sha256-okuWZr0iNBSeTajE8Wu45fdGwpQo0S7gT8HBG1JHowc=";
29 };
3031 propagatedBuildInputs = [ websockets mutagen ]
···20 # The websites yt-dlp deals with are a very moving target. That means that
21 # downloads break constantly. Because of that, updates should always be backported
22 # to the latest stable release.
23+ version = "2021.11.10.1";
2425 src = fetchPypi {
26 inherit pname;
27 version = builtins.replaceStrings [ ".0" ] [ "." ] version;
28+ sha256 = "f0ad6ae2e2838b608df2fd125f2a777a7ad832d3e757ee6d4583b84b21e44388";
29 };
3031 propagatedBuildInputs = [ websockets mutagen ]