mirror of
https://github.com/ilyakooo0/nix-bundle.git
synced 2024-09-11 06:55:53 +03:00
Make *.sh scripts more clear on what is being created.
This commit is contained in:
parent
9d5a2d8b41
commit
1eb0583a69
@ -26,4 +26,9 @@ expr="with import <nixpkgs> {}; with import ./. {}; nix-bootstrap { name = \"$ta
|
||||
|
||||
out=$(nix-store --no-gc-warning -r $(nix-instantiate --no-gc-warning -E "$expr"))
|
||||
|
||||
cp -f $out $target
|
||||
if [ -z "$out" ]; then
|
||||
echo "$0 failed. Exiting."
|
||||
exit 1
|
||||
else
|
||||
cp -f $out $target
|
||||
fi
|
||||
|
@ -23,4 +23,11 @@ expr="with import <nixpkgs> {}; with import ./. {}; appimage (appdir { name = \"
|
||||
|
||||
out=$(nix-store --no-gc-warning -r $(nix-instantiate --no-gc-warning -E "$expr"))
|
||||
|
||||
cp -f $out $target
|
||||
if [ -z "$out" ]; then
|
||||
echo "$0 failed. Exiting."
|
||||
exit 1
|
||||
else
|
||||
appimage=$out/*.AppImage
|
||||
cp -f $appimage .
|
||||
echo "AppImage created at $(basename $appimage)"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user