Unverified Commit ef9880fd authored by DontEatOreo's avatar DontEatOreo
Browse files

arc-browser: format with nixfmt-rfc-style

parent 1c2e39c9
Loading
Loading
Loading
Loading
+16 −9
Original line number Diff line number Diff line
{ lib
, stdenvNoCC
, fetchurl
, undmg
, writeShellApplication
, curl
, common-updater-scripts
{
  lib,
  stdenvNoCC,
  fetchurl,
  undmg,
  writeShellApplication,
  curl,
  common-updater-scripts,
}:

stdenvNoCC.mkDerivation (finalAttrs: {
@@ -33,7 +34,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {

  passthru.updateScript = lib.getExe (writeShellApplication {
    name = "arc-browser-update-script";
    runtimeInputs = [ curl common-updater-scripts ];
    runtimeInputs = [
      curl
      common-updater-scripts
    ];
    text = ''
      set -euo pipefail
      redirect_url="$(curl -s -L -f "https://releases.arc.net/release/Arc-latest.dmg" -o /dev/null -w '%{url_effective}')"
@@ -50,7 +54,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
    homepage = "https://arc.net/";
    license = lib.licenses.unfree;
    maintainers = with lib.maintainers; [ donteatoreo ];
    platforms = [ "aarch64-darwin" "x86_64-darwin" ];
    platforms = [
      "aarch64-darwin"
      "x86_64-darwin"
    ];
    sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
  };
})