···497497 - `keepTerminfo` controls whether `TERMINFO` and `TERMINFO_DIRS` are preserved
498498 for `root` and the `wheel` group.
499499500500+- `virtualisation.googleComputeImage` now provides `efi` option to support UEFI booting.
501501+500502- CoreDNS can now be built with external plugins by overriding `externalPlugins` and `vendorHash` arguments like this:
501503502504 ```
+2-2
nixos/modules/services/networking/trust-dns.nix
···5454 defaultText = "pkgs.trust-dns";
5555 description = mdDoc ''
5656 Trust-dns package to use.
5757- Only `bin/trust-dns` need be provided: the other trust-dns utilities (client and resolver) are not needed.
5757+ The package must provide `meta.mainProgram` which names the server binary; any other utilities (client, resolver) are not needed.
5858 '';
5959 };
6060 quiet = mkOption {
···135135 flags = (lib.optional cfg.debug "--debug") ++ (lib.optional cfg.quiet "--quiet");
136136 flagsStr = builtins.concatStringsSep " " flags;
137137 in ''
138138- ${cfg.package}/bin/trust-dns --config ${configFile} ${flagsStr}
138138+ ${cfg.package}/bin/${cfg.package.meta.mainProgram} --config ${configFile} ${flagsStr}
139139 '';
140140 Type = "simple";
141141 Restart = "on-failure";
···3939 inherit (lib.meta) getExe;
4040 inherit (lib.strings) optionalString;
4141in
4242-backendStdenv.mkDerivation {
4242+backendStdenv.mkDerivation (finalAttrs: {
4343 # NOTE: Even though there's no actual buildPhase going on here, the derivations of the
4444 # redistributables are sensitive to the compiler flags provided to stdenv. The patchelf package
4545 # is sensitive to the compiler flags provided to stdenv, and we depend on it. As such, we are
···164164 outputSpecified = true;
165165166166 meta = {
167167- inherit description platforms;
168168- license = lib.licenses.unfree;
167167+ inherit platforms;
168168+ description = "${description}. By downloading and using the packages you accept the terms and conditions of the ${finalAttrs.meta.license.shortName}";
169169+ license = lib.licenses.nvidiaCudaRedist // {
170170+ url = "https://developer.download.nvidia.com/compute/cuda/redist/${releaseAttrs.license_path or "${pname}/LICENSE.txt"}";
171171+ };
172172+ sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
169173 maintainers = lib.teams.cuda.members;
170174 # Force the use of the default, fat output by default (even though `dev` exists, which
171175 # causes Nix to prefer that output over the others if outputSpecified isn't set).
172176 outputsToInstall = [ "out" ];
173177 };
174174-}
178178+})
···1919 # use make instead of default checks because e2e does not work with `buildGoDir`
2020 checkPhase = ''
2121 runHook preCheck
2222+ HOME="$(mktemp -d)"
2223 # We do not set trimpath for tests, in case they reference test assets
2324 export GOFLAGS=''${GOFLAGS//-trimpath/}
2425