anchor.diff:      "SYSTEMD_USERS_DIRECTORY=$(out)/lib/sysusers.d"
       "SYSTEMD_FILES_DIRECTORY=$(out)/lib/tmpfiles.d"
       "UDEV_LIBRARY_DIRECTORY=$(out)/lib/udev"
  +    "UDEV_RULES_TYPE=all"
       "POLKIT_POLICY_DIR=$(out)/share/polkit-1/actions"
       "POLKIT_RULE_DIR=$(out)/share/polkit-1/rules.d"
     ];
  
positive.code:       substituteInPlace systemd/system/brltty@.service \
          --replace '/usr/lib' "$out/lib" \
          --replace '/sbin/modprobe' '${kmod}/bin/modprobe'
        substituteInPlace systemd/system/brltty-device@.service \
          --replace '/usr/bin/true' '${coreutils}/bin/true'
        substituteInPlace udev/rules.d/90-brltty-uinput.rules \
  
negative.code: 
        # Remove unused commands from udev rules
        sed '/initctl/d' -i udev/rules.d/90-brltty-device.rules
        # Remove pulse-access group from systemd unit and sysusers
        substituteInPlace systemd/system/brltty@.service \
          --replace 'SupplementaryGroups=pulse-access' '# SupplementaryGroups=pulse-access'
        substituteInPlace sysusers.d/brltty.conf \
          --replace 'm brltty pulse-access' '# m brltty pulse-access'
       )
       substituteInPlace $out/libexec/brltty/systemd-wrapper \
         --replace 'logger' "${util-linux}/bin/logger" \
         --replace 'udevadm' "${udev}/bin/udevadm"
    '';
  }
  