For a couple of day, I start to “play“ with my nixos config. That’s fun when you use debian daily.
Software install is comfortable, easy and efficient.
I tried to convert an appimage working fine with appimage-run. I read https://wiki.nixos.org/wiki/Appimage and several wiki but still don’t understand where I should put this piece of code in my config.
If you got a process or wiki that explains to newbies. You’re welcome. Or the page in the user manual… or just clue….
I assume you mean the appimageTools.wrapType2 block? I’d just replace the URL, hash, and meta, put it in pkgs/<package-name>.nix, and use (pkgs.callPackage ./pkgs/<package-name>.nix { }) in environment.systemPackages. Out of curiosity, what app do you need this appimage for?
Great ! That’s a part of solution. Now I need to find how to create a .desktop created by the script software usually. The build failed because .desktop does’nt exist. But I can start the app by the terminal. That’s a great jump! Thanks!
--show-trace is almost always useless and just hides the actual issue under a few thousand lines of repetitive traces; I would recommend forgetting that flag exists.
I think I recall about two times the issue was actually hidden in traces instead of plainly obvious in the normal output over the last 10 years.
Unfortunately non-trivial module system errors are usually hidden and require it, but yes, it’s better to avoid by default unless you know the trimmed log is missing crucial info.