From 76da6890442163566d76d2c07365562617364796 Mon Sep 17 00:00:00 2001 From: Stefan Date: Thu, 9 Jan 2025 23:28:11 +0000 Subject: [PATCH] Verbose configurePhase --- flake.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index f4d0faa..88f0b67 100644 --- a/flake.nix +++ b/flake.nix @@ -53,9 +53,24 @@ ++ commonBuildInputs; configurePhase = '' + set -x # Enable debug output + echo "Starting configure phase" + echo "TMPDIR=$TMPDIR" + echo "HOME=$HOME" export HOME=$TMPDIR + echo "HOME is now $HOME" 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 = ''