guix: Print build params inside/outside of container
This commit is contained in:
1 parent
2f9d1fdde6
commit
570e43fe72
2 files changed
+22
-3
No files matched your search
@@ -11,9 +11,15 @@ if [ -n "$V" ]; then
|
||||
export VERBOSE="$V"
|
||||
fi
|
||||
|
||||
# Check that environment variables assumed to be set by the environment are set
|
||||
echo "Building for platform triple ${HOST:?not set} with reference timestamp ${SOURCE_DATE_EPOCH:?not set}..."
|
||||
echo "At most ${MAX_JOBS:?not set} jobs will run at once..."
|
||||
# Check that required environment variables are set
|
||||
cat << EOF
|
||||
Required environment variables as seen inside the container:
|
||||
HOST: ${HOST:?not set}
|
||||
SOURCE_DATE_EPOCH: ${SOURCE_DATE_EPOCH:?not set}
|
||||
MAX_JOBS: ${MAX_JOBS:?not set}
|
||||
DISTSRC: ${DISTSRC:?not set}
|
||||
OUTDIR: ${OUTDIR:?not set}
|
||||
EOF
|
||||
|
||||
#####################
|
||||
# Environment Setup #
|
||||
|
||||
Reference in new issue
Block a user