diff --git a/scripts/fourmolu b/scripts/fourmolu index c53b1c1..827fec1 100755 --- a/scripts/fourmolu +++ b/scripts/fourmolu @@ -2,11 +2,6 @@ set -euo pipefail -if [ "$#" -eq 0 ]; then - echo "Please specify the command-line options to pass to 'fourmolu'" >&2 - exit 1 -fi - git_root=$(git rev-parse --show-toplevel) fourmolu=$(nix-build "${git_root}/nix/pkgs.nix" --attr haskellPackages.fourmolu --no-out-link) diff --git a/scripts/nixpkgs-fmt b/scripts/nixpkgs-fmt index 71bd9fd..e4c81d6 100755 --- a/scripts/nixpkgs-fmt +++ b/scripts/nixpkgs-fmt @@ -2,11 +2,6 @@ set -euo pipefail -if [ "$#" -eq 0 ]; then - echo "Please specify the command-line options to pass to 'nixpkgs-fmt'" >&2 - exit 1 -fi - git_root=$(git rev-parse --show-toplevel) nixpkgs_fmt=$(nix-build "${git_root}/nix/pkgs.nix" --attr nixpkgs-fmt --no-out-link)