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

Doesn't work for large bundles

Open jb55 opened this issue 8 years ago • 5 comments

Trying to bundle tensorflow as a test:

nix-bundle python27Packages.tensorflow bin/tensorboard

generates a 1.5GB archive. When I try to run it, it runs out of memory.

I'm guessing nix-bundle isn't a good solution for these scenarios? Perhaps it's an issue with arx?

jb55 avatar May 03 '17 18:05 jb55

@jb55 at least with AppImages, this should not be a problem, since we are just loop-mounting the filesystem image. Have used games in the order of gigabytes w/o issues.

probonopd avatar May 03 '17 18:05 probonopd

@probonopd yeah I figured that was the issue, for large bundles loop-mounting seems to be the way to go. I would say we could try to do something like that with nix-bundle, but it might be easier to just generate an AppImage once that's working...

jb55 avatar May 03 '17 18:05 jb55

nix-bundle has a script that can make AppImages already...

probonopd avatar May 03 '17 18:05 probonopd

yeah I just assumed it wasn't working because it doesn't seem to work for me... hmm...

jb55 avatar May 03 '17 18:05 jb55

It has open issues, yes... but I don't see why they couldn't be fixed.

probonopd avatar May 03 '17 18:05 probonopd