anchor.diff:            replacement = "$out/lib/systemd/systemd-fsck";
             where = [
               "man/systemd-fsck@.service.xml"
  -            "test/test-fstab-generator.sh"
  -            "test/test-fstab-generator/test-12-dev-sdx.expected/systemd-fsck-root.service"
  -            "test/test-fstab-generator/test-13-label.expected/systemd-fsck-root.service"
  -            "test/test-fstab-generator/test-14-uuid.expected/systemd-fsck-root.service"
  -            "test/test-fstab-generator/test-15-partuuid.expected/systemd-fsck-root.service"
             ];
           }
         ] ++ lib.optionals withImportd [
  
positive.code:         map (path: "substituteInPlace ${path} --replace '${search}' \"${replacement}\"") where;
        mkEnsureSubstituted = { replacement, search, where }:
          ''
            if [[ $(grep -r '${search}' | grep -v "${replacement}" | grep -v NEWS | wc -l) -gt 0 ]]; then
              echo "Not all references to '${search}' have been replace. Found the following matches:"
              grep '${search}' -r | grep -v "${replacement}" | grep -v NEWS
              exit 1
            fi
          '';
  
negative.code:             "src/analyze/test-verify.c"
              "src/test/test-env-file.c"
              "src/test/test-fileio.c"
            ];
          }
          {
  