From 68d7e71424f15a63d8e0e13b95df5d67ff5a9cc2 Mon Sep 17 00:00:00 2001 From: Default email Date: Tue, 25 Jan 2022 20:04:25 -0800 Subject: [PATCH] Project import generated by Copybara. GitOrigin-RevId: 945ec499041db73043f745fad3b2a3a01e826081 --- .../nixpkgs/doc/builders/fetchers.chapter.md | 18 + third_party/nixpkgs/lib/default.nix | 5 +- third_party/nixpkgs/lib/options.nix | 12 +- third_party/nixpkgs/lib/types.nix | 15 +- .../nixpkgs/maintainers/maintainer-list.nix | 21 +- .../development/option-types.section.md | 6 + .../development/option-types.section.xml | 16 + .../from_md/release-notes/rl-2205.section.xml | 13 + .../manual/release-notes/rl-2205.section.md | 6 + .../nixpkgs/nixos/modules/security/pam.nix | 2 +- .../services/hardware/triggerhappy.nix | 2 +- .../nixos/modules/services/misc/gitlab.nix | 2 + .../modules/services/misc/home-assistant.nix | 7 + .../modules/services/misc/matrix-synapse.nix | 30 +- .../modules/services/networking/bird.nix | 22 +- .../nixos/modules/services/security/tor.nix | 7 +- .../modules/system/activation/top-level.nix | 61 +- .../nixos/modules/system/boot/systemd.nix | 16 +- .../nixpkgs/nixos/modules/system/build.nix | 21 + third_party/nixpkgs/nixos/tests/all-tests.nix | 1 + third_party/nixpkgs/nixos/tests/bcachefs.nix | 8 +- third_party/nixpkgs/nixos/tests/bird.nix | 205 ++ .../nixpkgs/nixos/tests/home-assistant.nix | 10 + third_party/nixpkgs/nixos/tests/mpd.nix | 2 +- .../pkgs/applications/audio/clerk/default.nix | 25 +- .../applications/audio/librespot/default.nix | 3 +- .../pkgs/applications/audio/mpc/default.nix | 52 +- .../applications/audio/parlatype/default.nix | 2 - .../applications/audio/shortwave/default.nix | 1 + .../audio/squishyball/default.nix | 2 - .../applications/audio/zrythm/default.nix | 9 +- .../editors/gnome-builder/default.nix | 14 +- .../applications/editors/neovim/default.nix | 6 +- .../pkgs/applications/editors/vim/common.nix | 4 +- .../applications/graphics/gcolor3/default.nix | 8 +- .../graphics/graphicsmagick/default.nix | 4 +- .../nixpkgs/pkgs/applications/kde/kamoso.nix | 2 +- .../pkgs/applications/misc/iptsd/default.nix | 2 +- .../misc/metadata-cleaner/default.nix | 8 +- .../pkgs/applications/misc/mob/default.nix | 4 +- .../applications/misc/notejot/default.nix | 24 +- .../notejot/use-gtk4-update-icon-cache.patch | 20 - .../applications/misc/nwg-wrapper/default.nix | 4 +- .../misc/qt-video-wlr/default.nix | 2 +- .../networking/blocky/default.nix | 30 + .../networking/browsers/nyxt/default.nix | 2 +- .../networking/cluster/istioctl/default.nix | 6 +- .../networking/cluster/lens/default.nix | 6 +- .../networking/cluster/minikube/default.nix | 6 +- .../instant-messengers/kdeltachat/default.nix | 6 +- .../networking/irc/hexchat/default.nix | 2 +- .../networking/irc/wraith/configure.patch | 4 +- .../networking/irc/wraith/default.nix | 4 +- .../networking/irc/wraith/dlopen.patch | 12 +- .../networking/mailreaders/alot/default.nix | 84 +- .../networking/vnstat/default.nix | 4 +- .../pkgs/applications/office/gtg/default.nix | 8 + .../science/logic/coq/default.nix | 2 +- .../science/logic/tamarin-prover/default.nix | 2 + .../science/misc/cwltool/default.nix | 4 +- .../rxvt-unicode/default.nix | 6 +- .../version-management/commitizen/default.nix | 49 + .../version-management/git-lfs/default.nix | 6 + .../version-management/gitlab/data.json | 16 +- .../version-management/gitlab/default.nix | 6 - .../gitlab/fix-grpc-ar.patch | 10 - .../version-management/gitlab/gitaly/Gemfile | 10 +- .../gitlab/gitaly/Gemfile.lock | 67 +- .../gitlab/gitaly/default.nix | 16 +- .../gitlab/gitaly/gemset.nix | 91 +- .../gitlab/gitlab-shell/default.nix | 4 +- .../gitlab/gitlab-workhorse/default.nix | 2 +- .../version-management/gitlab/rubyEnv/Gemfile | 39 +- .../gitlab/rubyEnv/Gemfile.lock | 214 +- .../gitlab/rubyEnv/gemset.nix | 216 +- .../version-management/gitless/default.nix | 35 +- .../pkgs/applications/video/kooha/default.nix | 1 + .../video/plex-mpv-shim/default.nix | 4 +- .../applications/video/srtrelay/default.nix | 10 +- .../virtualization/conmon/default.nix | 4 +- .../window-managers/qtile/default.nix | 34 +- .../window-managers/river/default.nix | 13 +- .../window-managers/sway/default.nix | 4 +- .../bintools-wrapper/ld-wrapper.sh | 2 +- .../build-support/cc-wrapper/cc-wrapper.sh | 2 +- .../pkgs/build-support/fetchgit/builder.sh | 1 + .../pkgs/build-support/fetchgit/default.nix | 3 +- .../build-support/fetchgit/nix-prefetch-git | 8 +- .../pkgs/build-support/fetchgit/tests.nix | 11 + .../build-support/fetchgithub/default.nix | 5 +- .../build-support/libredirect/default.nix | 39 +- .../build-support/libredirect/libredirect.c | 12 +- .../rust/hooks/cargo-build-hook.sh | 3 + .../build-support/setup-hooks/make-wrapper.sh | 9 + .../pkgs/build-support/trivial-builders.nix | 18 +- .../trivial-builders/test-overriding.nix | 63 +- .../nixpkgs/pkgs/data/misc/cacert/default.nix | 4 +- .../data/misc/shared-mime-info/default.nix | 20 +- .../pkgs/desktops/arcan/xarcan/default.nix | 9 + .../gnome/apps/gnome-todo/default.nix | 23 +- .../pkgs/desktops/gnome/core/eog/default.nix | 14 +- .../desktops/gnome/core/epiphany/default.nix | 11 +- .../gnome-settings-daemon/3.38/default.nix | 6 + .../desktops/gnome/core/nautilus/default.nix | 16 +- .../pantheon/apps/elementary-code/default.nix | 12 +- .../apps/elementary-feedback/default.nix | 16 +- .../pantheon/apps/elementary-mail/default.nix | 14 +- .../apps/elementary-music/default.nix | 16 +- .../apps/elementary-photos/default.nix | 4 +- .../apps/elementary-tasks/default.nix | 4 +- .../pantheon/apps/sideload/default.nix | 12 +- .../apps/switchboard-plugs/a11y/default.nix | 12 +- .../apps/switchboard-plugs/about/default.nix | 24 +- .../applications/default.nix | 12 +- .../switchboard-plugs/bluetooth/default.nix | 12 +- .../switchboard-plugs/datetime/default.nix | 12 +- .../switchboard-plugs/display/default.nix | 12 +- .../switchboard-plugs/keyboard/default.nix | 12 +- .../mouse-touchpad/default.nix | 22 +- .../switchboard-plugs/network/default.nix | 22 +- .../notifications/default.nix | 12 +- .../apps/switchboard-plugs/power/default.nix | 12 +- .../switchboard-plugs/printers/default.nix | 12 +- .../switchboard-plugs/sharing/default.nix | 12 +- .../apps/switchboard-plugs/wacom/default.nix | 12 +- .../pantheon/apps/switchboard/default.nix | 12 +- .../artwork/elementary-gtk-theme/default.nix | 4 +- .../artwork/elementary-icon-theme/default.nix | 4 +- .../elementary-sound-theme/default.nix | 4 +- .../elementary-default-settings/default.nix | 4 +- .../desktop/elementary-greeter/default.nix | 62 +- .../elementary-greeter/revert-pr566.patch | 103 + .../desktop/elementary-onboarding/default.nix | 30 +- .../desktop/elementary-print-shim/default.nix | 16 +- .../elementary-session-settings/default.nix | 6 +- .../wingpanel-indicators/a11y/default.nix | 12 +- .../bluetooth/default.nix | 12 +- .../wingpanel-indicators/keyboard/default.nix | 34 +- .../nightlight/default.nix | 12 +- .../wingpanel-indicators/power/default.nix | 24 +- .../wingpanel-indicators/session/default.nix | 12 +- .../pantheon/desktop/wingpanel/default.nix | 8 +- .../pantheon/services/contractor/default.nix | 12 +- .../elementary-notifications/default.nix | 4 +- .../elementary-settings-daemon/default.nix | 4 +- .../pantheon-agent-geoclue2/default.nix | 12 +- .../pantheon-agent-polkit/default.nix | 12 +- .../development/compilers/gleam/default.nix | 6 +- .../development/compilers/glslang/default.nix | 5 + .../compilers/llvm/10/clang/default.nix | 1 - .../development/compilers/llvm/10/default.nix | 6 +- .../compilers/llvm/10/llvm/default.nix | 78 +- .../compilers/llvm/10/llvm/outputs.patch | 16 - .../compilers/llvm/11/clang/default.nix | 1 - .../development/compilers/llvm/11/default.nix | 6 +- .../compilers/llvm/11/llvm/default.nix | 88 +- .../compilers/llvm/11/llvm/outputs.patch | 16 - .../compilers/llvm/12/clang/default.nix | 1 - .../development/compilers/llvm/12/default.nix | 6 +- .../compilers/llvm/12/llvm/default.nix | 90 +- .../llvm/12/llvm/fix-llvm-issue-49955.patch | 13 + .../compilers/llvm/12/llvm/outputs.patch | 16 - .../compilers/llvm/13/clang/default.nix | 1 - .../development/compilers/llvm/13/default.nix | 6 +- .../compilers/llvm/13/llvm/default.nix | 60 +- .../compilers/llvm/13/llvm/outputs.patch | 16 - .../development/compilers/llvm/5/default.nix | 6 +- .../compilers/llvm/5/llvm/default.nix | 76 +- .../compilers/llvm/5/llvm/outputs.patch | 16 - .../development/compilers/llvm/6/default.nix | 6 +- .../compilers/llvm/6/llvm/default.nix | 78 +- .../compilers/llvm/6/llvm/outputs.patch | 16 - .../development/compilers/llvm/7/default.nix | 6 +- .../compilers/llvm/7/llvm/default.nix | 80 +- .../compilers/llvm/7/llvm/outputs.patch | 16 - .../compilers/llvm/8/clang/default.nix | 1 - .../development/compilers/llvm/8/default.nix | 6 +- .../compilers/llvm/8/llvm/default.nix | 80 +- .../compilers/llvm/8/llvm/outputs.patch | 16 - .../compilers/llvm/9/clang/default.nix | 1 - .../development/compilers/llvm/9/default.nix | 6 +- .../compilers/llvm/9/llvm/default.nix | 78 +- .../compilers/llvm/9/llvm/outputs.patch | 16 - .../compilers/llvm/git/clang/default.nix | 1 - .../compilers/llvm/git/default.nix | 6 +- .../compilers/llvm/git/llvm/default.nix | 60 +- .../compilers/llvm/git/llvm/outputs.patch | 16 - .../llvm/llvm-config-link-static.patch | 12 + .../development/compilers/orc/default.nix | 3 + .../pkgs/development/compilers/rust/rustc.nix | 3 + .../development/compilers/vala/default.nix | 4 +- .../coq-modules/coq-ext-lib/default.nix | 4 +- .../coq-modules/coq-record-update/default.nix | 3 +- .../development/coq-modules/corn/default.nix | 2 +- .../coq-modules/deriving/default.nix | 2 +- .../coq-modules/equations/default.nix | 15 +- .../coq-modules/math-classes/default.nix | 4 +- .../coq-modules/reglang/default.nix | 2 +- .../development/interpreters/elixir/1.13.nix | 4 +- .../interpreters/micropython/default.nix | 6 +- .../pkgs/development/interpreters/php/8.1.nix | 4 +- .../interpreters/python/default.nix | 1 + .../interpreters/spidermonkey/78.nix | 13 + .../spidermonkey/add-riscv64-support.patch | 123 + .../libraries/aws-sdk-cpp/default.nix | 4 +- .../libraries/ffmpeg-full/default.nix | 4 +- .../development/libraries/ffmpeg/generic.nix | 5 +- .../libraries/glibc/2.33-master.patch.gz | Bin 65714 -> 69704 bytes .../development/libraries/glibc/common.nix | 4 +- .../libraries/grilo-plugins/default.nix | 2 +- .../libraries/gstreamer/bad/default.nix | 13 +- .../libraries/gstreamer/base/default.nix | 4 +- .../libraries/gstreamer/core/default.nix | 10 +- .../libraries/gstreamer/devtools/default.nix | 4 +- .../libraries/gstreamer/ges/default.nix | 4 +- .../libraries/gstreamer/good/default.nix | 4 +- .../libraries/gstreamer/libav/default.nix | 4 +- .../gstreamer/rtsp-server/default.nix | 4 +- .../libraries/gstreamer/ugly/default.nix | 4 +- .../libraries/gstreamer/vaapi/default.nix | 4 +- .../pkgs/development/libraries/gtk/3.x.nix | 14 +- .../pkgs/development/libraries/gtk/4.x.nix | 14 +- .../libraries/hunspell/default.nix | 10 +- .../libraries/iso-codes/default.nix | 8 +- .../libraries/libadwaita/default.nix | 10 +- .../libraries/libdeltachat/default.nix | 8 +- .../libraries/libepoxy/default.nix | 9 +- .../libraries/libextractor/default.nix | 2 +- .../libraries/libfabric/default.nix | 4 +- .../development/libraries/libffi/default.nix | 6 + .../libraries/libfprint-tod/default.nix | 4 +- .../development/libraries/libgda/default.nix | 4 +- .../libraries/libhttpseverywhere/default.nix | 7 +- .../development/libraries/libhwy/default.nix | 47 + .../development/libraries/libjxl/default.nix | 28 +- .../libraries/libmodulemd/default.nix | 1 - .../development/libraries/libnice/default.nix | 2 + .../libraries/libportal/default.nix | 46 +- .../libraries/libptytty/default.nix | 26 + .../libraries/libseccomp/default.nix | 12 +- .../development/libraries/libsoup/3.x.nix | 4 +- .../development/libraries/libthai/default.nix | 4 +- .../libraries/libthreadar/default.nix | 1 + .../development/libraries/libtiff/default.nix | 8 +- .../libraries/libusbgx/default.nix | 22 + .../development/libraries/libuv/default.nix | 4 +- .../development/libraries/libzim/default.nix | 4 +- .../development/libraries/mesa/default.nix | 12 +- .../development/libraries/mesa/musl.patch | 59 + .../libraries/ncnn/cmakelists.patch | 13 + .../development/libraries/ncnn/default.nix | 50 + .../libraries/ncnn/gpu-include.patch | 13 + .../development/libraries/ncurses/default.nix | 4 +- .../development/libraries/nss/default.nix | 4 +- .../pkgs/development/libraries/openexr/3.nix | 18 + .../development/libraries/openexr/default.nix | 7 + .../development/libraries/pango/default.nix | 4 +- .../development/libraries/pangomm/2.48.nix | 4 +- .../development/libraries/polkit/default.nix | 5 + .../libraries/qt-5/5.12/default.nix | 2 +- .../libraries/qt-5/5.14/default.nix | 2 +- .../libraries/qt-5/5.15/default.nix | 2 +- .../development/libraries/re2/default.nix | 12 +- .../libraries/retro-gtk/default.nix | 6 + .../science/math/openblas/default.nix | 4 +- .../development/libraries/sqlite/default.nix | 7 +- .../development/libraries/sqlite/tools.nix | 7 +- .../development/libraries/tracker/default.nix | 8 + .../development/libraries/wlroots/0.15.nix | 4 +- .../development/libraries/xxHash/default.nix | 9 +- .../ocaml-modules/bigarray-compat/default.nix | 2 + .../ocaml-modules/ca-certs/default.nix | 3 +- .../python-modules/adal/default.nix | 42 +- .../python-modules/aioesphomeapi/default.nix | 4 +- .../python-modules/aioftp/default.nix | 2 - .../python-modules/aiohwenergy/default.nix | 4 +- .../python-modules/aioshelly/default.nix | 4 +- .../python-modules/aiounifi/default.nix | 4 +- .../python-modules/attrs/default.nix | 14 +- .../azure-mgmt-compute/default.nix | 4 +- .../charset-normalizer/default.nix | 12 +- .../datafusion/Cargo.lock.patch | 78 + .../python-modules/datafusion/default.nix | 90 + .../python-modules/dbus/default.nix | 2 +- .../python-modules/django-cleanup/default.nix | 4 +- .../django-oauth-toolkit/default.nix | 4 +- .../python-modules/django-redis/default.nix | 9 +- .../python-modules/django-taggit/default.nix | 4 +- .../development/python-modules/django/2.nix | 4 +- .../development/python-modules/django/3.nix | 4 +- .../django_classytags/default.nix | 4 +- .../python-modules/dulwich/default.nix | 4 +- .../python-modules/dwdwfsapi/default.nix | 4 +- .../python-modules/envoy-reader/default.nix | 25 +- .../python-modules/fastapi/default.nix | 4 +- .../python-modules/feedparser/default.nix | 16 +- .../python-modules/flake8-length/default.nix | 4 +- .../python-modules/flit-core/default.nix | 7 +- .../python-modules/flit/default.nix | 14 +- .../python-modules/flux-led/default.nix | 4 +- .../python-modules/gigalixir/default.nix | 4 +- .../python-modules/glom/default.nix | 4 +- .../groestlcoin_hash/default.nix | 4 +- .../python-modules/hahomematic/default.nix | 6 +- .../python-modules/heatzypy/default.nix | 6 +- .../python-modules/hiredis/default.nix | 11 +- .../python-modules/html-sanitizer/default.nix | 16 +- .../python-modules/html5lib/default.nix | 10 + .../importlib-metadata/default.nix | 6 +- .../python-modules/jdatetime/default.nix | 27 +- .../python-modules/levenshtein/default.nix | 4 +- .../python-modules/lz4/default.nix | 69 +- .../python-modules/manimpango/default.nix | 6 +- .../python-modules/markdown-it-py/default.nix | 4 +- .../python-modules/mat2/default.nix | 6 +- .../python-modules/mat2/paths.patch | 24 +- .../matplotlib-inline/default.nix | 2 - .../mkdocs/default.nix | 59 +- .../moderngl_window/default.nix | 4 +- .../python-modules/mypy/default.nix | 4 +- .../python-modules/nmapthon2/default.nix | 4 +- .../development/python-modules/od/default.nix | 4 +- .../python-modules/packaging/default.nix | 4 +- .../python-modules/paramiko/default.nix | 51 +- .../python-modules/plaid-python/default.nix | 4 +- .../python-modules/platformdirs/default.nix | 12 +- .../python-modules/plexapi/default.nix | 4 +- .../python-modules/poetry/default.nix | 7 +- .../python-modules/pybind11/default.nix | 4 +- .../pycryptodome-test-vectors/default.nix | 30 + .../python-modules/pycryptodome/default.nix | 20 +- .../python-modules/pycryptodomex/default.nix | 13 +- .../python-modules/pydevccu/default.nix | 4 +- .../python-modules/pygeos/default.nix | 48 + .../python-modules/pylaunches/default.nix | 4 +- .../python-modules/pylibftdi/default.nix | 16 +- .../python-modules/pypoint/default.nix | 4 +- .../python-modules/pytenable/default.nix | 12 +- .../pytest-subprocess/default.nix | 10 +- .../python-modules/python-izone/default.nix | 4 +- .../python-modules/pytile/default.nix | 6 +- .../python-modules/pywlroots/default.nix | 13 +- .../python-modules/pywlroots/xwayland.patch | 25 + .../python-modules/qcs-api-client/default.nix | 4 +- .../python-modules/redis/default.nix | 41 +- .../python-modules/restfly/default.nix | 10 +- .../python-modules/rollbar/default.nix | 20 +- .../python-modules/rtoml/default.nix | 29 +- .../python-modules/sgmllib3k/default.nix | 17 +- .../python-modules/siosocks/default.nix | 7 + .../sphinxcontrib-htmlhelp/default.nix | 2 +- .../python-modules/sqlite-utils/default.nix | 22 +- .../python-modules/sunpy/default.nix | 58 +- .../typing-extensions/default.nix | 46 +- .../python-modules/tzdata/default.nix | 18 +- .../python-modules/unicodedata2/default.nix | 17 +- .../python-modules/weboob/default.nix | 59 +- .../python-modules/whodap/default.nix | 4 +- .../python-modules/woob/default.nix | 49 +- .../woob/no-test-requiring-network.patch | 54 - .../python-modules/wrapt/default.nix | 28 +- .../python-modules/yapf/default.nix | 4 +- .../ruby-modules/bundled-common/functions.nix | 2 +- .../tools/analysis/checkov/default.nix | 18 +- .../development/tools/ashpd-demo/default.nix | 1 + .../bazel/bazel_5/actions_path.patch | 41 + .../build-managers/bazel/bazel_5/default.nix | 669 ++++++ .../build-managers/bazel/bazel_5/no-arc.patch | 42 + .../bazel/bazel_5/src-deps.json | 1990 +++++++++++++++++ .../bazel/bazel_5/update-srcDeps.py | 54 + .../tools/build-managers/bazel/java-test.nix | 12 +- .../build-managers/bazel/protobuf-test.nix | 12 +- .../tools/build-managers/gnumake/default.nix | 1 + ...boost-Do-not-add-system-paths-on-nix.patch | 40 - .../build-managers/meson/0.57/default.nix | 94 - .../meson/0.57/gir-fallback-path.patch | 16 - .../meson/0.57/more-env-vars.patch | 13 - .../0.60/allow-dirs-outside-of-prefix.patch | 19 - .../meson/0.60/clear-old-rpath.patch | 20 - .../build-managers/meson/0.60/fix-rpath.patch | 24 - .../build-managers/meson/0.60/setup-hook.sh | 37 - .../allow-dirs-outside-of-prefix.patch | 0 ...boost-Do-not-add-system-paths-on-nix.patch | 0 .../meson/{0.57 => }/clear-old-rpath.patch | 0 .../meson/{0.60 => }/default.nix | 4 + .../meson/do-not-update-ldconfig-cache.patch | 12 + .../meson/{0.57 => }/fix-rpath.patch | 0 .../meson/{0.60 => }/gir-fallback-path.patch | 0 .../meson/{0.60 => }/more-env-vars.patch | 0 .../meson/{0.57 => }/setup-hook.sh | 0 .../tools/database/sqlfluff/default.nix | 4 +- .../tools/golangci-lint/default.nix | 6 +- .../tools/misc/intel-gpu-tools/default.nix | 9 + .../pkgs/development/tools/ocaml/dune/2.nix | 6 +- .../tools/ocaml/js_of_ocaml/ocamlbuild.nix | 2 + .../tools/ocaml/ocamlbuild/default.nix | 2 +- .../pkgs/development/tools/pandoc/default.nix | 2 +- .../tools/parsing/tree-sitter/default.nix | 2 +- .../grammars/tree-sitter-markdown.json | 10 +- .../tools/parsing/tree-sitter/update.nix | 2 +- .../pkgs/development/web/flyctl/default.nix | 2 +- .../pkgs/games/legendary-gl/default.nix | 4 +- .../nixpkgs/pkgs/games/rogue/default.nix | 3 - .../games/shattered-pixel-dungeon/default.nix | 6 +- .../nixpkgs/pkgs/games/vdrift/default.nix | 20 +- .../pkgs/games/vintagestory/default.nix | 4 +- .../nixpkgs/pkgs/misc/cups/default.nix | 4 +- .../nixpkgs/pkgs/misc/ghostscript/default.nix | 15 +- .../nixpkgs/pkgs/misc/sagetex/default.nix | 40 + .../nixpkgs/pkgs/misc/scrcpy/default.nix | 1 - .../pkgs/misc/vim-plugins/generated.nix | 330 +-- .../bsd/netbsd/compat-setup-hook.sh | 1 - .../pkgs/os-specific/bsd/netbsd/default.nix | 18 +- .../apple-source-releases/configd/default.nix | 15 +- .../darwin/apple-source-releases/default.nix | 10 +- .../diskdev_cmds/default.nix | 15 +- .../libresolv/default.nix | 4 +- .../text_cmds/default.nix | 2 + .../alsa-lib/alsa-plugin-conf-multilib.patch | 232 -- .../linux/alsa-project/alsa-lib/default.nix | 14 +- .../os-specific/linux/cryptsetup/default.nix | 4 +- .../linux/firmware/fwupd/default.nix | 2 +- .../pkgs/os-specific/linux/gt/default.nix | 29 + .../linux/ima-evm-utils/default.nix | 8 +- .../linux/ima-evm-utils/xattr.patch | 73 - .../os-specific/linux/iputils/default.nix | 14 +- .../pkgs/os-specific/linux/libbpf/default.nix | 10 +- .../pkgs/os-specific/linux/lvm2/common.nix | 39 +- .../os-specific/linux/lvm2/no-shared.diff | 25 + .../pkgs/os-specific/linux/pam/default.nix | 12 - .../os-specific/linux/sgx/sdk/default.nix | 5 + .../os-specific/linux/systemd/default.nix | 4 +- .../nixpkgs/pkgs/servers/adguardhome/bins.nix | 16 +- .../pkgs/servers/adguardhome/default.nix | 2 +- .../nixpkgs/pkgs/servers/bird/default.nix | 4 +- .../pkgs/servers/home-assistant/default.nix | 31 +- .../pkgs/servers/matrix-synapse/default.nix | 4 +- .../monitoring/prometheus/redis-exporter.nix | 6 +- .../nixpkgs/pkgs/servers/mpd/default.nix | 8 +- .../pkgs/servers/pulseaudio/default.nix | 6 +- .../servers/web-apps/discourse/default.nix | 4 +- .../plugins/discourse-assign/default.nix | 4 +- .../plugins/discourse-calendar/Gemfile.lock | 2 +- .../plugins/discourse-calendar/default.nix | 4 +- .../plugins/discourse-calendar/gemset.nix | 4 +- .../discourse-canned-replies/default.nix | 4 +- .../discourse-chat-integration/default.nix | 4 +- .../plugins/discourse-checklist/default.nix | 4 +- .../discourse-data-explorer/default.nix | 4 +- .../plugins/discourse-docs/default.nix | 4 +- .../plugins/discourse-github/Gemfile.lock | 12 +- .../plugins/discourse-github/default.nix | 4 +- .../plugins/discourse-github/gemset.nix | 27 +- .../plugins/discourse-ldap-auth/default.nix | 4 +- .../plugins/discourse-math/default.nix | 4 +- .../discourse-openid-connect/default.nix | 4 +- .../plugins/discourse-prometheus/default.nix | 4 +- .../discourse-saved-searches/default.nix | 4 +- .../plugins/discourse-solved/default.nix | 4 +- .../discourse-spoiler-alert/default.nix | 4 +- .../plugins/discourse-voting/default.nix | 4 +- .../discourse-yearly-review/default.nix | 4 +- .../web-apps/discourse/rubyEnv/Gemfile.lock | 52 +- .../web-apps/discourse/rubyEnv/gemset.nix | 95 +- .../unicorn_logging_and_timeout.patch | 6 +- .../pkgs/servers/web-apps/wiki-js/default.nix | 4 +- .../nixpkgs/pkgs/shells/dash/default.nix | 10 + third_party/nixpkgs/pkgs/stdenv/booter.nix | 8 +- .../nixpkgs/pkgs/stdenv/cross/default.nix | 2 +- .../nixpkgs/pkgs/stdenv/darwin/default.nix | 5 + .../nixpkgs/pkgs/stdenv/generic/default.nix | 7 +- .../stdenv/linux/bootstrap-files/aarch64.nix | 8 +- .../tools/admin/azure-cli/python-packages.nix | 2 + .../tools/admin/fits-cloudctl/default.nix | 6 +- .../pkgs/tools/audio/yabridge/default.nix | 6 +- .../pkgs/tools/compression/zstd/default.nix | 17 +- .../compression/zstd/playtests-darwin.patch | 9 +- .../tools/filesystems/btrfs-progs/default.nix | 16 +- .../realesrgan-ncnn-vulkan/cmakelists.patch | 13 + .../realesrgan-ncnn-vulkan/default.nix | 65 + .../realesrgan-ncnn-vulkan/models_path.patch | 22 + .../pkgs/tools/misc/fluent-bit/default.nix | 9 +- .../pkgs/tools/misc/topgrade/default.nix | 6 +- .../tools/misc/uutils-coreutils/default.nix | 6 +- .../nixpkgs/pkgs/tools/misc/wyrd/default.nix | 2 - .../pkgs/tools/networking/curl/default.nix | 99 +- .../tools/networking/dnsproxy/default.nix | 4 +- .../networking/gmrender-resurrect/default.nix | 4 +- .../pkgs/tools/networking/godns/default.nix | 6 +- .../pkgs/tools/networking/kapp/default.nix | 4 +- .../networking/proxychains-ng/default.nix | 14 +- .../tools/networking/strongswan/default.nix | 7 +- .../cargo-release/default.nix | 6 +- .../tools/package-management/nix/default.nix | 100 +- .../pkgs/tools/security/cosign/default.nix | 10 +- .../pkgs/tools/security/exploitdb/default.nix | 4 +- .../pkgs/tools/security/gomapenum/default.nix | 6 +- .../pkgs/tools/security/kubescape/default.nix | 4 +- .../pkgs/tools/security/lynis/default.nix | 4 +- .../virtualization/linode-cli/default.nix | 4 +- .../pkgs/tools/wayland/swayr/default.nix | 6 +- .../nixpkgs/pkgs/top-level/aliases.nix | 1 + .../nixpkgs/pkgs/top-level/all-packages.nix | 87 +- .../nixpkgs-basic-release-checks.nix | 31 +- .../nixpkgs/pkgs/top-level/php-packages.nix | 10 +- .../pkgs/top-level/python-packages.nix | 12 +- 506 files changed, 7971 insertions(+), 3167 deletions(-) create mode 100644 third_party/nixpkgs/nixos/modules/system/build.nix create mode 100644 third_party/nixpkgs/nixos/tests/bird.nix delete mode 100644 third_party/nixpkgs/pkgs/applications/misc/notejot/use-gtk4-update-icon-cache.patch create mode 100644 third_party/nixpkgs/pkgs/applications/networking/blocky/default.nix create mode 100644 third_party/nixpkgs/pkgs/applications/version-management/commitizen/default.nix delete mode 100644 third_party/nixpkgs/pkgs/applications/version-management/gitlab/fix-grpc-ar.patch create mode 100644 third_party/nixpkgs/pkgs/desktops/pantheon/desktop/elementary-greeter/revert-pr566.patch delete mode 100644 third_party/nixpkgs/pkgs/development/compilers/llvm/10/llvm/outputs.patch delete mode 100644 third_party/nixpkgs/pkgs/development/compilers/llvm/11/llvm/outputs.patch create mode 100644 third_party/nixpkgs/pkgs/development/compilers/llvm/12/llvm/fix-llvm-issue-49955.patch delete mode 100644 third_party/nixpkgs/pkgs/development/compilers/llvm/12/llvm/outputs.patch delete mode 100644 third_party/nixpkgs/pkgs/development/compilers/llvm/13/llvm/outputs.patch delete mode 100644 third_party/nixpkgs/pkgs/development/compilers/llvm/5/llvm/outputs.patch delete mode 100644 third_party/nixpkgs/pkgs/development/compilers/llvm/6/llvm/outputs.patch delete mode 100644 third_party/nixpkgs/pkgs/development/compilers/llvm/7/llvm/outputs.patch delete mode 100644 third_party/nixpkgs/pkgs/development/compilers/llvm/8/llvm/outputs.patch delete mode 100644 third_party/nixpkgs/pkgs/development/compilers/llvm/9/llvm/outputs.patch delete mode 100644 third_party/nixpkgs/pkgs/development/compilers/llvm/git/llvm/outputs.patch create mode 100644 third_party/nixpkgs/pkgs/development/compilers/llvm/llvm-config-link-static.patch create mode 100644 third_party/nixpkgs/pkgs/development/interpreters/spidermonkey/add-riscv64-support.patch create mode 100644 third_party/nixpkgs/pkgs/development/libraries/libhwy/default.nix create mode 100644 third_party/nixpkgs/pkgs/development/libraries/libptytty/default.nix create mode 100644 third_party/nixpkgs/pkgs/development/libraries/libusbgx/default.nix create mode 100644 third_party/nixpkgs/pkgs/development/libraries/mesa/musl.patch create mode 100644 third_party/nixpkgs/pkgs/development/libraries/ncnn/cmakelists.patch create mode 100644 third_party/nixpkgs/pkgs/development/libraries/ncnn/default.nix create mode 100644 third_party/nixpkgs/pkgs/development/libraries/ncnn/gpu-include.patch create mode 100644 third_party/nixpkgs/pkgs/development/python-modules/datafusion/Cargo.lock.patch create mode 100644 third_party/nixpkgs/pkgs/development/python-modules/datafusion/default.nix rename third_party/nixpkgs/pkgs/development/{tools/documentation => python-modules}/mkdocs/default.nix (57%) create mode 100644 third_party/nixpkgs/pkgs/development/python-modules/pycryptodome-test-vectors/default.nix create mode 100644 third_party/nixpkgs/pkgs/development/python-modules/pygeos/default.nix create mode 100644 third_party/nixpkgs/pkgs/development/python-modules/pywlroots/xwayland.patch delete mode 100644 third_party/nixpkgs/pkgs/development/python-modules/woob/no-test-requiring-network.patch create mode 100644 third_party/nixpkgs/pkgs/development/tools/build-managers/bazel/bazel_5/actions_path.patch create mode 100644 third_party/nixpkgs/pkgs/development/tools/build-managers/bazel/bazel_5/default.nix create mode 100644 third_party/nixpkgs/pkgs/development/tools/build-managers/bazel/bazel_5/no-arc.patch create mode 100644 third_party/nixpkgs/pkgs/development/tools/build-managers/bazel/bazel_5/src-deps.json create mode 100755 third_party/nixpkgs/pkgs/development/tools/build-managers/bazel/bazel_5/update-srcDeps.py delete mode 100644 third_party/nixpkgs/pkgs/development/tools/build-managers/meson/0.57/boost-Do-not-add-system-paths-on-nix.patch delete mode 100644 third_party/nixpkgs/pkgs/development/tools/build-managers/meson/0.57/default.nix delete mode 100644 third_party/nixpkgs/pkgs/development/tools/build-managers/meson/0.57/gir-fallback-path.patch delete mode 100644 third_party/nixpkgs/pkgs/development/tools/build-managers/meson/0.57/more-env-vars.patch delete mode 100644 third_party/nixpkgs/pkgs/development/tools/build-managers/meson/0.60/allow-dirs-outside-of-prefix.patch delete mode 100644 third_party/nixpkgs/pkgs/development/tools/build-managers/meson/0.60/clear-old-rpath.patch delete mode 100644 third_party/nixpkgs/pkgs/development/tools/build-managers/meson/0.60/fix-rpath.patch delete mode 100644 third_party/nixpkgs/pkgs/development/tools/build-managers/meson/0.60/setup-hook.sh rename third_party/nixpkgs/pkgs/development/tools/build-managers/meson/{0.57 => }/allow-dirs-outside-of-prefix.patch (100%) rename third_party/nixpkgs/pkgs/development/tools/build-managers/meson/{0.60 => }/boost-Do-not-add-system-paths-on-nix.patch (100%) rename third_party/nixpkgs/pkgs/development/tools/build-managers/meson/{0.57 => }/clear-old-rpath.patch (100%) rename third_party/nixpkgs/pkgs/development/tools/build-managers/meson/{0.60 => }/default.nix (95%) create mode 100644 third_party/nixpkgs/pkgs/development/tools/build-managers/meson/do-not-update-ldconfig-cache.patch rename third_party/nixpkgs/pkgs/development/tools/build-managers/meson/{0.57 => }/fix-rpath.patch (100%) rename third_party/nixpkgs/pkgs/development/tools/build-managers/meson/{0.60 => }/gir-fallback-path.patch (100%) rename third_party/nixpkgs/pkgs/development/tools/build-managers/meson/{0.60 => }/more-env-vars.patch (100%) rename third_party/nixpkgs/pkgs/development/tools/build-managers/meson/{0.57 => }/setup-hook.sh (100%) create mode 100644 third_party/nixpkgs/pkgs/misc/sagetex/default.nix delete mode 100644 third_party/nixpkgs/pkgs/os-specific/linux/alsa-project/alsa-lib/alsa-plugin-conf-multilib.patch create mode 100644 third_party/nixpkgs/pkgs/os-specific/linux/gt/default.nix delete mode 100644 third_party/nixpkgs/pkgs/os-specific/linux/ima-evm-utils/xattr.patch create mode 100644 third_party/nixpkgs/pkgs/os-specific/linux/lvm2/no-shared.diff create mode 100644 third_party/nixpkgs/pkgs/tools/graphics/realesrgan-ncnn-vulkan/cmakelists.patch create mode 100644 third_party/nixpkgs/pkgs/tools/graphics/realesrgan-ncnn-vulkan/default.nix create mode 100644 third_party/nixpkgs/pkgs/tools/graphics/realesrgan-ncnn-vulkan/models_path.patch diff --git a/third_party/nixpkgs/doc/builders/fetchers.chapter.md b/third_party/nixpkgs/doc/builders/fetchers.chapter.md index 5b28b2dcb3..28388ba685 100644 --- a/third_party/nixpkgs/doc/builders/fetchers.chapter.md +++ b/third_party/nixpkgs/doc/builders/fetchers.chapter.md @@ -40,6 +40,24 @@ Used with Git. Expects `url` to a Git repo, `rev`, and `sha256`. `rev` in this c Additionally the following optional arguments can be given: `fetchSubmodules = true` makes `fetchgit` also fetch the submodules of a repository. If `deepClone` is set to true, the entire repository is cloned as opposing to just creating a shallow clone. `deepClone = true` also implies `leaveDotGit = true` which means that the `.git` directory of the clone won't be removed after checkout. +If only parts of the repository are needed, `sparseCheckout` can be used. This will prevent git from fetching unnecessary blobs from server, see [git sparse-checkout](https://git-scm.com/docs/git-sparse-checkout) and [git clone --filter](https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---filterltfilter-specgt) for more infomation: + +```nix +{ stdenv, fetchgit }: + +stdenv.mkDerivation { + name = "hello"; + src = fetchgit { + url = "https://..."; + sparseCheckout = '' + path/to/be/included + another/path + ''; + sha256 = "0000000000000000000000000000000000000000000000000000"; + }; +} +``` + ## `fetchfossil` {#fetchfossil} Used with Fossil. Expects `url` to a Fossil archive, `rev`, and `sha256`. diff --git a/third_party/nixpkgs/lib/default.nix b/third_party/nixpkgs/lib/default.nix index 2dfe62e82a..2684225388 100644 --- a/third_party/nixpkgs/lib/default.nix +++ b/third_party/nixpkgs/lib/default.nix @@ -122,8 +122,9 @@ let mkRenamedOptionModule mkMergedOptionModule mkChangedOptionModule mkAliasOptionModule mkDerivedConfig doRename; inherit (self.options) isOption mkEnableOption mkSinkUndeclaredOptions - mergeDefaultOption mergeOneOption mergeEqualOption getValues - getFiles optionAttrSetToDocList optionAttrSetToDocList' + mergeDefaultOption mergeOneOption mergeEqualOption mergeUniqueOption + getValues getFiles + optionAttrSetToDocList optionAttrSetToDocList' scrubOptionValue literalExpression literalExample literalDocBook showOption showFiles unknownModule mkOption; inherit (self.types) isType setType defaultTypeMerge defaultFunctor diff --git a/third_party/nixpkgs/lib/options.nix b/third_party/nixpkgs/lib/options.nix index 794ca5e339..627aac24d2 100644 --- a/third_party/nixpkgs/lib/options.nix +++ b/third_party/nixpkgs/lib/options.nix @@ -172,11 +172,13 @@ rec { else if all isInt list && all (x: x == head list) list then head list else throw "Cannot merge definitions of `${showOption loc}'. Definition values:${showDefs defs}"; - mergeOneOption = loc: defs: - if defs == [] then abort "This case should never happen." - else if length defs != 1 then - throw "The unique option `${showOption loc}' is defined multiple times. Definition values:${showDefs defs}" - else (head defs).value; + mergeOneOption = mergeUniqueOption { message = ""; }; + + mergeUniqueOption = { message }: loc: defs: + if length defs == 1 + then (head defs).value + else assert length defs > 1; + throw "The option `${showOption loc}' is defined multiple times.\n${message}\nDefinition values:${showDefs defs}"; /* "Merge" option definitions by checking that they all have the same value. */ mergeEqualOption = loc: defs: diff --git a/third_party/nixpkgs/lib/types.nix b/third_party/nixpkgs/lib/types.nix index cc3ac5fdf6..f2f9b2bca9 100644 --- a/third_party/nixpkgs/lib/types.nix +++ b/third_party/nixpkgs/lib/types.nix @@ -32,7 +32,6 @@ let last length tail - unique ; inherit (lib.attrsets) attrNames @@ -48,6 +47,7 @@ let mergeDefaultOption mergeEqualOption mergeOneOption + mergeUniqueOption showFiles showOption ; @@ -470,6 +470,18 @@ rec { nestedTypes.elemType = elemType; }; + unique = { message }: type: mkOptionType rec { + name = "unique"; + inherit (type) description check; + merge = mergeUniqueOption { inherit message; }; + emptyValue = type.emptyValue; + getSubOptions = type.getSubOptions; + getSubModules = type.getSubModules; + substSubModules = m: uniq (type.substSubModules m); + functor = (defaultFunctor name) // { wrapped = type; }; + nestedTypes.elemType = type; + }; + # Null or value of ... nullOr = elemType: mkOptionType rec { name = "nullOr"; @@ -599,6 +611,7 @@ rec { # A value from a set of allowed ones. enum = values: let + inherit (lib.lists) unique; show = v: if builtins.isString v then ''"${v}"'' else if builtins.isInt v then builtins.toString v diff --git a/third_party/nixpkgs/maintainers/maintainer-list.nix b/third_party/nixpkgs/maintainers/maintainer-list.nix index 9d1d35f01c..e991280a0f 100644 --- a/third_party/nixpkgs/maintainers/maintainer-list.nix +++ b/third_party/nixpkgs/maintainers/maintainer-list.nix @@ -515,6 +515,8 @@ }; algorith = { email = "dries_van_daele@telenet.be"; + github = "DriesVanDaele"; + githubId = 1141488; name = "Dries Van Daele"; }; alibabzo = { @@ -3543,7 +3545,7 @@ name = "Leo Maroni"; }; emmanuelrosa = { - email = "emmanuel_rosa@aol.com"; + email = "emmanuelrosa@protonmail.com"; matrix = "@emmanuelrosa:matrix.org"; github = "emmanuelrosa"; githubId = 13485450; @@ -5982,6 +5984,13 @@ githubId = 107689; name = "Josh Holland"; }; + jsierles = { + email = "joshua@hey.com"; + matrix = "@jsierles:matrix.org"; + name = "Joshua Sierles"; + github = "jsierles"; + githubId = 82; + }; jtcoolen = { email = "jtcoolen@pm.me"; name = "Julien Coolen"; @@ -7024,7 +7033,7 @@ email = "nullarequest@vivlaid.net"; github = "Lunarequest"; githubId = 30698906; - name = "Advaith Madhukar"; # this is my legal name, I prefer Luna; please keep that in mind! + name = "Luna D Dragon"; }; lionello = { email = "lio@lunesu.com"; @@ -8586,6 +8595,12 @@ githubId = 7845120; name = "Alex Martens"; }; + nialov = { + email = "nikolasovaskainen@gmail.com"; + github = "nialov"; + githubId = 47318483; + name = "Nikolas Ovaskainen"; + }; nikitavoloboev = { email = "nikita.voloboev@gmail.com"; github = "nikitavoloboev"; @@ -12041,7 +12056,7 @@ name = "Tiago Castro"; }; tilcreator = { - name = "Tilman Jackel"; + name = "TilCreator"; email = "contact.nixos@tc-j.de"; matrix = "@tilcreator:matrix.org"; github = "TilCreator"; diff --git a/third_party/nixpkgs/nixos/doc/manual/development/option-types.section.md b/third_party/nixpkgs/nixos/doc/manual/development/option-types.section.md index ed55720665..56ffa8e9d7 100644 --- a/third_party/nixpkgs/nixos/doc/manual/development/option-types.section.md +++ b/third_party/nixpkgs/nixos/doc/manual/development/option-types.section.md @@ -250,6 +250,12 @@ Composed types are types that take a type as parameter. `listOf : Ensures that type *`t`* cannot be merged. It is used to ensure option definitions are declared only once. +`types.unique` `{ message = m }` *`t`* + +: Ensures that type *`t`* cannot be merged. Prints the message *`m`*, after + the line `The option