Unverified Commit 42fbc7de authored by DontEatOreo's avatar DontEatOreo
Browse files

arc-browser: remove `set -euo pipefail`

`writeShellApplication` already sets `errexit`, `nounset`, and
`pipefail` by default

Refs: https://nixos.org/manual/nixpkgs/stable/#trivial-builder-writeShellApplication
parent bbf17bf3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -39,7 +39,6 @@ stdenvNoCC.mkDerivation (finalAttrs: {
      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}')"
      # The url scheme is: https://releases.arc.net/release/Arc-1.23.4-56789.dmg
      # We strip everything before 'Arc-' and after '.dmg'