You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would I go about bundling a derivation that I've written? I've tried the obvious nix bundle --bundler github:ralismark/nix-appimage -f default.nix, but that doesn't seem to work.
The text was updated successfully, but these errors were encountered:
Ah, seems like it'd be hitting an error with the main program detection. That syntax should work otherwise. For arbitrary derivations, meta.mainProgram gets used, falling back to /bin/ if that doesn't exist. The default bundler does this too, but just produces an invalid bundle instead.
Ideally there'll be a standard way of overriding the program name (e.g. for nixpkgs#mesa-demos, which has multiple binaries), but until then I can add a script that specifies the binary to run.
How would I go about bundling a derivation that I've written? I've tried the obvious
nix bundle --bundler github:ralismark/nix-appimage -f default.nix
, but that doesn't seem to work.The text was updated successfully, but these errors were encountered: