NixOS / bundlers

MIT License
97 stars 13 forks source link

nix bundle broken on busybox because of wrong tar flags #12

Open tennox opened 1 year ago

tennox commented 1 year ago

I'm trying to use a binary created by running

nix bundle nixpkgs#pkgsi686Linux.curl

on a minimal buildroot image (:sweat_smile:), but get this error:

tar: invalid option -- j
BusyBox v1.31.1 (2020-07-17 17:53:41 CDT) multi-call binary.

Usage: tar c|x|t [-hvokO] [-f TARFILE] [-C DIR] [-T FILE] [-X FILE] [--exclude PATTERN]... [FILE]...

And on the next invocation:

../run: line 1: ./nix/store/yigc12h43pdv2mn3cfb3k0xw3rsfdb8a-startup: not found