Commit 3100acba authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

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
parent e687c493
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ let
   * to a menuentry for use in grub.
   *
   *  * defaults: {name, image, params, initrd}
   *  * options: [ option... ]
   *  * options: [ option... ]
   *  * option: {name, params, class}
   */
  menuBuilderGrub2 =
+1 −1
Original line number Diff line number Diff line
@@ -344,7 +344,7 @@ let
      serviceConfig = commonServiceConfig // {
        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.
        RestartSec = 15 * 60;

+1 −1
Original line number Diff line number Diff line
@@ -1020,7 +1020,7 @@ in {
          '';
          serviceConfig.Type = "oneshot";
          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.
          environment.NC_setup_create_db_user = lib.mkIf (nextcloudGreaterOrEqualThan "26") "false";
        };
+1 −1
Original line number Diff line number Diff line
@@ -406,7 +406,7 @@ in {
        # is unnecessary as it's part of the installPhase of pixelfed.

        # 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.
        [[ ! -f ${cfg.dataDir}/.initial-migration ]] && pixelfed-manage migrate --force && touch ${cfg.dataDir}/.initial-migration
+1 −1
Original line number Diff line number Diff line
@@ -154,7 +154,7 @@ in {

  with subtest("run_distributed_command"):
      # 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")

      with subtest("check_slurm_dbd"):
Loading