···829829830830 See [git sparse-checkout](https://git-scm.com/docs/git-sparse-checkout) for more information.
831831832832+*`rootDir`* (String)
833833+834834+: When not empty, copy only contents of the subdirectory of the repository to the result. Automatically sets `sparseCheckout` and `nonConeMode` to avoid checking out any extra pieces. Incompatible with `leaveDotGit`.
835835+832836Some additional parameters for niche use-cases can be found listed in the function parameters in the declaration of `fetchgit`: `pkgs/build-support/fetchgit/default.nix`.
833837Future parameters additions might also happen without immediately being documented here.
834838
+1
doc/release-notes/rl-2511.section.md
···106106 * `$debug/lib/debug/.build-id/48/3bd7f7229bdb06462222e1e353e4f37e15c293.sourceoverlay` is a symlink to a directory with the same structure as the expanded `$sourceRoot` but containing only a copy of files which were patched during the build
107107 * `$debug/lib/debug/.build-id/48/3bd7f7229bdb06462222e1e353e4f37e15c293.debug` is the file containing debug symbols (like before).
108108109109+- `fetchgit`: Add `rootDir` argument to limit the resulting source to one subdirectory of the whole Git repository. Corresponding `--root-dir` option added to `nix-prefetch-git`.
109110110111## Nixpkgs Library {#sec-nixpkgs-release-25.11-lib}
111112
+4-1
nixos/modules/config/system-path.nix
···88888989 corePackages = lib.mkOption {
9090 type = lib.types.listOf lib.types.package;
9191- default = corePackages;
9291 defaultText = lib.literalMD ''
9392 these packages, with their `meta.priority` numerically increased
9493 (thus lowering their installation priority):
···179178 };
180179181180 config = {
181181+182182+ # Set this here so that it has the right priority and allows ergonomic
183183+ # merging.
184184+ environment.corePackages = corePackages;
182185183186 environment.systemPackages = config.environment.corePackages ++ config.environment.defaultPackages;
184187
···6767 # we can also run non-NixOS guests during tests. This, however, is
6868 # mostly futureproofing as the test instrumentation is still very
6969 # tightly coupled to NixOS.
7070- PS1="" exec ${pkgs.coreutils}/bin/env bash --norc /dev/hvc0
7070+ PS1="" exec ${pkgs.bashNonInteractive}/bin/bash --norc /dev/hvc0
7171 '';
7272 serviceConfig.KillSignal = "SIGHUP";
7373 };
···122122 checkPath="$(dirname "$checkPath")"
123123done
124124125125+# Check if the mount point root directory is owned by root
126126+if [[ "$(stat -c '%u:%g' "$mountPoint")" != "0:0" ]]; then
127127+ echo "$0: $mountPoint is not owned by root:root (owned by $(stat -c '%U:%G' "$mountPoint"))"
128128+ echo "$0: installation root directory must be owned by root to avoid system issues"
129129+ echo "$0: run 'sudo chown root:root $mountPoint' to fix this"
130130+ exit 1
131131+fi
132132+125133# Verify that user is not trying to use attribute building and flake
126134# at the same time
127135if [[ -z $buildingAttribute && -n $flake ]]; then
···1515 };
16161717 meta = {
1818- description = "Switch the preview pane between hidden and shown";
1818+ description = "Vim-like f<char>, jump to the next file whose name starts with <char>.";
1919 license = lib.licenses.mit;
2020 maintainers = with lib.maintainers; [ khaneliman ];
2121 };
···2233grafanaPlugin {
44 pname = "volkovlabs-variable-panel";
55- version = "4.0.0";
66- zipHash = "sha256-fHOo/Au8yPQXIkG/BupNcMpFNgDLRrqpwRpmbq6xYhM=";
55+ version = "4.1.0";
66+ zipHash = "sha256-3AkCebT9KcQdsi+T3+0XMhwZaEmqlOmY90RidcVqUb4=";
77 meta = with lib; {
88 description = "Variable panel allows you to have dashboard filters in a separate panel which you can place anywhere on the dashboard";
99 license = licenses.asl20;
···230230 dogpile_cache = dogpile-cache; # added 2021-10-28
231231 dogpile-core = throw "dogpile-core is no longer maintained, use dogpile-cache instead"; # added 2021-11-20
232232 dugong = throw "dugong is unmaintained since 2022 and has therefore been removed"; # added 2024-12-12
233233+ editdistance-s = throw "editdistance-s has been removed since it was added solely for the identity package, which has moved on to ukkonen"; # added 2025-08-04
233234 eebrightbox = throw "eebrightbox is unmaintained upstream and has therefore been removed"; # added 2022-02-03
234235 EasyProcess = easyprocess; # added 2023-02-19
235236 email_validator = email-validator; # added 2022-06-22
···349350 ipdbplugin = throw "ipdbplugin has been removed because it has no longer maintained for 6 years"; # added 2024-05-21
350351 ipython_genutils = ipython-genutils; # added 2023-10-12
351352 influxgraph = throw "influxgraph has been removed because it is no longer maintained"; # added 2022-07-10
353353+ inlinestyler = throw "inlinestyler has been removed because it is no longer maintained"; # added 2025-08-09
352354 itanium_demangler = itanium-demangler; # added 2022-10-17
353355 jaeger-client = throw "jaeger-client was removed because it is deprecated upstream. OpenTelemetry is recommended instead."; # Added 2024-12-09
354356 jaraco_classes = jaraco-classes; # added 2023-07-14