treewide: \xc2\xa0 ->

I have no idea what this escape sequence even is, but it breaks the nix parser with cryptic errors if not used in a comment.
A friend let me know MacOS is prone to input weird spaces, not sure if that is the source.

Candidates were located and created with:

    chr="$(echo -e '\xc2\xa0')"; rg -F "$chr" -l | xe sd -F "$chr" " "

There are some examples left, most being example output from `tree` in various markdown documents, some patches which we can't really touch, and `pkgs/tools/nix/nixos-render-docs/src/tests/test_commonmark.py` which I'm not sure if should be addressed
This commit is contained in:
Peder Bergebakken Sundt 2024-10-02 11:34:50 +02:00
parent e687c4933e
commit 3100acba08
13 changed files with 13 additions and 13 deletions

View File

@ -8,7 +8,7 @@ let
* to a menuentry for use in grub. * to a menuentry for use in grub.
* *
* * defaults: {name, image, params, initrd} * * defaults: {name, image, params, initrd}
* * options: [ option... ] * * options: [ option... ]
* * option: {name, params, class} * * option: {name, params, class}
*/ */
menuBuilderGrub2 = menuBuilderGrub2 =

View File

@ -344,7 +344,7 @@ let
serviceConfig = commonServiceConfig // { serviceConfig = commonServiceConfig // {
Group = data.group; Group = data.group;
# Let's Encrypt Failed Validation Limit allows 5 retries per hour, per account, hostname and hour. # Let's Encrypt Failed Validation Limit allows 5 retries per hour, per account, hostname and hour.
# This avoids eating them all up if something is misconfigured upon the first try. # This avoids eating them all up if something is misconfigured upon the first try.
RestartSec = 15 * 60; RestartSec = 15 * 60;

View File

@ -1020,7 +1020,7 @@ in {
''; '';
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
serviceConfig.User = "nextcloud"; serviceConfig.User = "nextcloud";
# On Nextcloud ≥ 26, it is not necessary to patch the database files to prevent # On Nextcloud ≥ 26, it is not necessary to patch the database files to prevent
# an automatic creation of the database user. # an automatic creation of the database user.
environment.NC_setup_create_db_user = lib.mkIf (nextcloudGreaterOrEqualThan "26") "false"; environment.NC_setup_create_db_user = lib.mkIf (nextcloudGreaterOrEqualThan "26") "false";
}; };

View File

@ -406,7 +406,7 @@ in {
# is unnecessary as it's part of the installPhase of pixelfed. # is unnecessary as it's part of the installPhase of pixelfed.
# Install Horizon # Install Horizon
# FIXME: require write access to public/ — should be done as part of install — pixelfed-manage horizon:publish # FIXME: require write access to public/ — should be done as part of install — pixelfed-manage horizon:publish
# Perform the first migration. # Perform the first migration.
[[ ! -f ${cfg.dataDir}/.initial-migration ]] && pixelfed-manage migrate --force && touch ${cfg.dataDir}/.initial-migration [[ ! -f ${cfg.dataDir}/.initial-migration ]] && pixelfed-manage migrate --force && touch ${cfg.dataDir}/.initial-migration

View File

@ -154,7 +154,7 @@ in {
with subtest("run_distributed_command"): with subtest("run_distributed_command"):
# Run `hostname` on 3 nodes of the partition (so on all the 3 nodes). # Run `hostname` on 3 nodes of the partition (so on all the 3 nodes).
# The output must contain the 3 different names # The output must contain the 3 different names
submit.succeed("srun -N 3 hostname | sort | uniq | wc -l | xargs test 3 -eq") submit.succeed("srun -N 3 hostname | sort | uniq | wc -l | xargs test 3 -eq")
with subtest("check_slurm_dbd"): with subtest("check_slurm_dbd"):

View File

@ -111,7 +111,7 @@ clangStdenv.mkDerivation (finalAttrs: {
"-DSuil_INCLUDE_DIR=${suil}/include/suil-0" "-DSuil_INCLUDE_DIR=${suil}/include/suil-0"
]; ];
# Needed for libraries that get dlopen'd # Needed for libraries that get dlopen'd
env.NIX_LDFLAGS = toString [ env.NIX_LDFLAGS = toString [
"-lasound" "-lasound"
"-llilv-0" "-llilv-0"

View File

@ -27,7 +27,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
Taking a strong influence from ATF's classic Spartan family, we're Taking a strong influence from ATF's classic Spartan family, we're
starting our own family out with a single strong weight. We've put a few starting our own family out with a single strong weight. We've put a few
unique touches into a beautiful, historical typeface, and made sure to unique touches into a beautiful, historical typeface, and made sure to
include an extensive characterset  currently totaling over 300 glyphs. include an extensive characterset currently totaling over 300 glyphs.
Over time, the open-source license will allow us expand League Spartan Over time, the open-source license will allow us expand League Spartan
into a full family, with multiple weights and styles, and we're starting into a full family, with multiple weights and styles, and we're starting

View File

@ -114,7 +114,7 @@ stdenv.mkDerivation rec {
# Disable any integration tests, which need to contact the internet. # Disable any integration tests, which need to contact the internet.
# Also disable the `storage_benchmark_*` tests. # Also disable the `storage_benchmark_*` tests.
# With Protobuf < 23.x they require -DGOOGLE_CLOUD_CPP_ENABLE_CTYPE_WORKAROUND=ON. # With Protobuf < 23.x they require -DGOOGLE_CLOUD_CPP_ENABLE_CTYPE_WORKAROUND=ON.
# With Protobuf >= 23.x they require They require setting -DGOOGLE_CLOUD_CPP_ENABLE_CTYPE_WORKAROUND=OFF # With Protobuf >= 23.x they require They require setting -DGOOGLE_CLOUD_CPP_ENABLE_CTYPE_WORKAROUND=OFF
ctest --label-exclude integration-test --exclude-regex storage_benchmarks_ ctest --label-exclude integration-test --exclude-regex storage_benchmarks_
runHook postInstallCheck runHook postInstallCheck

View File

@ -113,7 +113,7 @@ buildPythonPackage rec {
++ lib.optionals (stdenv.hostPlatform.isDarwin) [ ++ lib.optionals (stdenv.hostPlatform.isDarwin) [
# works locally on APFS, fails on hydra with AssertionError comparing timestamps # works locally on APFS, fails on hydra with AssertionError comparing timestamps
# darwin hydra builder uses HFS+ and has only one second timestamp resolution # darwin hydra builder uses HFS+ and has only one second timestamp resolution
# this two tests however, assume nanosecond resolution # this two tests however, assume nanosecond resolution
"test_modified" "test_modified"
"test_touch" "test_touch"
# tries to access /home, ignores $HOME # tries to access /home, ignores $HOME

View File

@ -40,7 +40,7 @@ let
torchvision torchvision
effdet effdet
]; ];
# paddledetection = [ paddlepaddle ] # paddledetection = [ paddlepaddle ]
}; };
in in
buildPythonPackage { buildPythonPackage {

View File

@ -562,7 +562,7 @@ let
USB_EHCI_ROOT_HUB_TT = yes; # Root Hub Transaction Translators USB_EHCI_ROOT_HUB_TT = yes; # Root Hub Transaction Translators
USB_EHCI_TT_NEWSCHED = yes; # Improved transaction translator scheduling USB_EHCI_TT_NEWSCHED = yes; # Improved transaction translator scheduling
USB_HIDDEV = yes; # USB Raw HID Devices (like monitor controls and Uninterruptable Power Supplies) USB_HIDDEV = yes; # USB Raw HID Devices (like monitor controls and Uninterruptable Power Supplies)
# default to dual role mode # default to dual role mode
USB_DWC2_DUAL_ROLE = yes; USB_DWC2_DUAL_ROLE = yes;

View File

@ -1561,7 +1561,7 @@ mapAliases {
invalidateFetcherByDrvHash = testers.invalidateFetcherByDrvHash; # Added 2022-05-05 invalidateFetcherByDrvHash = testers.invalidateFetcherByDrvHash; # Added 2022-05-05
timescale-prometheus = promscale; # Added 2020-09-29 timescale-prometheus = promscale; # Added 2020-09-29
tinygltf = throw "TinyglTF has been embedded in draco due to lack of other users and compatibility breaks."; # Added 2023-06-25 tinygltf = throw "TinyglTF has been embedded in draco due to lack of other users and compatibility breaks."; # Added 2023-06-25
tightvnc = throw "'tightvnc' has been removed as the version 1.3 is not maintained upstream anymore and is insecure"; # Added 2024-08-22 tightvnc = throw "'tightvnc' has been removed as the version 1.3 is not maintained upstream anymore and is insecure"; # Added 2024-08-22
tixati = throw "'tixati' has been removed from nixpkgs as it is unfree and unmaintained"; # Added 2023-03-17 tixati = throw "'tixati' has been removed from nixpkgs as it is unfree and unmaintained"; # Added 2023-03-17
tkcvs = tkrev; # Added 2022-03-07 tkcvs = tkrev; # Added 2022-03-07
toil = throw "toil was removed as it was broken and requires obsolete versions of libraries"; # Added 2024-09-22 toil = throw "toil was removed as it was broken and requires obsolete versions of libraries"; # Added 2024-09-22

View File

@ -18770,7 +18770,7 @@ with self; {
buildInputs = [ TestNoWarnings ]; buildInputs = [ TestNoWarnings ];
perlPreHook = "export LD=$CC"; perlPreHook = "export LD=$CC";
meta = { meta = {
description = "Internationalizing Domain Names in Applications (UTS #46)"; description = "Internationalizing Domain Names in Applications (UTS #46)";
homepage = "https://metacpan.org/release/Net-IDN-Encode"; homepage = "https://metacpan.org/release/Net-IDN-Encode";
license = with lib.licenses; [ artistic1 gpl1Plus ]; license = with lib.licenses; [ artistic1 gpl1Plus ];
}; };