Closed baduhai closed 1 year ago
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/
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.
see:
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.