Verbose configurePhase

This commit is contained in:
stefan burke 2025-01-09 23:28:11 +00:00
parent 2902ca91aa
commit 76da689044

View file

@ -53,9 +53,24 @@
++ commonBuildInputs; ++ commonBuildInputs;
configurePhase = '' configurePhase = ''
set -x # Enable debug output
echo "Starting configure phase"
echo "TMPDIR=$TMPDIR"
echo "HOME=$HOME"
export HOME=$TMPDIR export HOME=$TMPDIR
echo "HOME is now $HOME"
mkdir -p _site/style mkdir -p _site/style
${setupNodeModules}
echo "Setting up node modules..."
rm -rf node_modules package.json
cp -r ${nodeModules}/node_modules .
chmod -R +w node_modules
cp ${packageJSON} package.json
echo "Listing current directory:"
ls -la
echo "Configure phase complete"
set +x
''; '';
buildPhase = '' buildPhase = ''