From 6584ac752565f74171d64f3b92ef6a6e90241e21 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 3 Jun 2026 20:25:33 +0200 Subject: pkgs/con2pdf: Remove from system closure This script depends on the deprecated shell-library, and as such was unusable for over a year. It's time to remove it from the closure. --- modules/home.legacy/pkgs/default.nix | 4 ---- pkgs/by-name/co/con2pdf/con2pdf.sh | 6 ++++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/home.legacy/pkgs/default.nix b/modules/home.legacy/pkgs/default.nix index 18ef3d98..065f0c96 100644 --- a/modules/home.legacy/pkgs/default.nix +++ b/modules/home.legacy/pkgs/default.nix @@ -22,10 +22,6 @@ with pkgs; let }; TuiCli = { - Pdfs = [ - con2pdf # Scanner implementation - ]; - Misc = [ killall # kill a application by name bc # Smart calculator diff --git a/pkgs/by-name/co/con2pdf/con2pdf.sh b/pkgs/by-name/co/con2pdf/con2pdf.sh index ebe35ad3..5737bc82 100755 --- a/pkgs/by-name/co/con2pdf/con2pdf.sh +++ b/pkgs/by-name/co/con2pdf/con2pdf.sh @@ -12,6 +12,12 @@ # TODO(@bpeetz): This should probably be rewritten in rust. <2025-04-14> + +# shellcheck disable=SC2317,SC2329 + +echo "Rewrite this script in something else then shell (or remove the dependency on the sh-lib)" +exit 2 + NAME="con2pdf" help() { cat <