File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 132132 $zip $out/bin/nix-portable.zip ${ nixStaticBin } /bin/nix
133133 $zip $out/bin/nix-portable.zip ${ prootStaticBin } /bin/proot
134134 $zip $out/bin/nix-portable.zip ${ zstdStaticBin } /bin/zstd
135+ $zip $out/bin/nix-portable.zip ${ busyboxStaticBin } /bin/busybox
135136 $zip $out/bin/nix-portable.zip ${ storeTar } /tar
136137 $zip $out/bin/nix-portable.zip ${ caBundleZstd }
137138
Original file line number Diff line number Diff line change 154154 # install busybox
155155 mkdir -p " $dir " /busybox/bin
156156 if ! [ -e " $dir /busybox/bin/busybox" ]; then
157- cp " $busyboxStaticBin " / bin/busybox " $dir /busybox/bin/busybox "
157+ unzip -qqoj " $self " " $( removePrefix " / " " $busyboxStaticBin / bin/busybox" ) " -d " $dir /busybox/bin"
158158 chmod +w " $dir /busybox/bin/busybox"
159159 fi
160160 for bin in " ${busyboxBins[@]} " ; do
You can’t perform that action at this time.
0 commit comments