diff options
| author | Miran Bastaja <mbastaja@sorre.xyz> | 2025-02-23 16:05:09 +0100 |
|---|---|---|
| committer | Miran Bastaja <mbastaja@sorre.xyz> | 2025-02-23 16:05:34 +0100 |
| commit | a58bca8abf4c28072cfd95c0036bbf16a1339611 (patch) | |
| tree | 97ab30061cbf1198b65d14766256952d49a49626 /pkgs | |
| parent | 5db5a3278783187d1c035ff0f449cbda7157a91a (diff) | |
Make lightnovel-crawler emit only one binary
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/lightnovel-crawler.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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"; |
