From 5394ca4bc533cf01239d8733504f88c2ff3f299b Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 20 Oct 2025 21:05:25 +0200 Subject: pkgs/fupdate-flake: Remove `batgrep` dependency The test suite of `batgrep` no longer works, and this dependency is not really important anyways. --- pkgs/by-name/fu/fupdate-flake/fupdate-flake.sh | 2 +- pkgs/by-name/fu/fupdate-flake/package.nix | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'pkgs/by-name/fu') diff --git a/pkgs/by-name/fu/fupdate-flake/fupdate-flake.sh b/pkgs/by-name/fu/fupdate-flake/fupdate-flake.sh index 5b8d9469..00c1e443 100755 --- a/pkgs/by-name/fu/fupdate-flake/fupdate-flake.sh +++ b/pkgs/by-name/fu/fupdate-flake/fupdate-flake.sh @@ -169,7 +169,7 @@ update() { "$update_script" "$@" if [ -f "flake.lock" ] && grep '[^0-9]_[0-9]' flake.lock --quiet; then - batgrep '[^0-9]_[0-9]' flake.lock + grep '[^0-9]_[0-9]' flake.lock die "Your flake.nix contains duplicate inputs!" fi } diff --git a/pkgs/by-name/fu/fupdate-flake/package.nix b/pkgs/by-name/fu/fupdate-flake/package.nix index c8646f26..4e21cd23 100644 --- a/pkgs/by-name/fu/fupdate-flake/package.nix +++ b/pkgs/by-name/fu/fupdate-flake/package.nix @@ -13,9 +13,6 @@ coreutils, fd, gnugrep, - bat-extras, # For `batgrep` - bat, # used by batgrep - gnused, # required by batgrep git, }: writeShellApplication { @@ -29,9 +26,6 @@ writeShellApplication { coreutils fd gnugrep - bat-extras.batgrep - bat # Used by `batgrep` - gnused # Required by `batgrep` git ]; } -- cgit 1.4.1