From a58bca8abf4c28072cfd95c0036bbf16a1339611 Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Sun, 23 Feb 2025 16:05:09 +0100 Subject: Make lightnovel-crawler emit only one binary --- pkgs/lightnovel-crawler.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pkgs/lightnovel-crawler.nix') diff --git a/pkgs/lightnovel-crawler.nix b/pkgs/lightnovel-crawler.nix index dcdd1bd..59d2279 100644 --- a/pkgs/lightnovel-crawler.nix +++ b/pkgs/lightnovel-crawler.nix @@ -48,6 +48,13 @@ python3Packages.buildPythonApplication rec { packaging ]; + # NOTE: I only want _one_ binary, called lncrawl + # these are duplicates, deleting them + # there's probably a smarter way to do this... + postInstall = '' + rm $out/bin/lightnovel-crawler $out/bin/lightnovel_crawler + ''; + meta = { homepage = "https://github.com/dipu-bd/lightnovel-crawler"; description = "Generate and download e-books from online sources"; -- cgit v1.3.1