mach-nix icon indicating copy to clipboard operation
mach-nix copied to clipboard

fotokilof app failing at runtime

Open 573 opened this issue 3 years ago • 1 comments

I bundled (fotokilof =mach-nix.buildPythonApplication "https://github.com/TeaM-TL/FotoKilof/tarball/2ac8002";) fotokilof using mach.nix, but it rather fails at runtime:

Traceback (most recent call last): File "/nix/store/4arl049aahk2h6pcd8mvlbr1hp3xgx8w-python3.7-FotoKilof-3.8.3/bin/.fotokilof-wrapped", line 6, in from src import main ImportError: cannot import name 'main' from 'src' (/nix/store/4arl049aahk2h6pcd8mvlbr1hp3xgx8w-python3.7-FotoKilof-3.8.3/lib/python3.7/site-packages/src/init.py)

    entry_points = {
        "gui_scripts": [
            "fotokilof = src:__main__",
        ]
    }

(https://github.com/TeaM-TL/FotoKilof/blob/2ac800226a308695f0039b6613da7d880ed4d0fe/setup.py#L29)

573 avatar May 23 '22 09:05 573

Rough estimate https://github.com/numtide/devshell/issues/172#issuecomment-1094675420

573 avatar May 30 '22 09:05 573