3 if [ -d "$1/tarballs/" ]; then
4 for suffix
in tar.gz tgz
tar.bz2 tbz2 tbz
tar.xz txz
tar.lzma
; do
5 for i
in $1/tarballs
/*.
$suffix; do echo $i; break; done
14 propagateImageName
() {
15 mkdir
-p $out/nix-support
16 cat "$diskImage"/nix-support
/full-name
> $out/nix-support
/full-name