Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

mkAppImage

mkAppImage wraps a built Linux executable into a self-contained AppImage.

Notes

  • Linux only
  • Opt-in: you must add nix-appimage to your own flake inputs
  • The result is a derivation that emits a .AppImage file

Example

packages.appimage = harbor-rs.lib.mkAppImage {
  inherit system nix-appimage;
  program = "${myPackage}/bin/my-app";
};

Use this when you already have a reproducible Nix build and want a portable desktop artifact on top of it.