aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-10-20 21:05:25 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-10-20 21:06:31 +0200
commit5394ca4bc533cf01239d8733504f88c2ff3f299b (patch)
tree478e24fc0f17ee4f7873732d9e41ea7067baa56d
parentRevert "modules/i3status-rs: Add the window title to the bar" (diff)
downloadnixos-config-5394ca4bc533cf01239d8733504f88c2ff3f299b.zip
pkgs/fupdate-flake: Remove `batgrep` dependency
The test suite of `batgrep` no longer works, and this dependency is not really important anyways.
-rwxr-xr-xpkgs/by-name/fu/fupdate-flake/fupdate-flake.sh2
-rw-r--r--pkgs/by-name/fu/fupdate-flake/package.nix6
2 files changed, 1 insertions, 7 deletions
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
];
}