Verbose configurePhase
This commit is contained in:
parent
2902ca91aa
commit
76da689044
17
flake.nix
17
flake.nix
|
@ -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 = ''
|
||||||
|
|
Loading…
Reference in a new issue