diff --git a/build.sh b/build.sh index 887fe22..04c1437 100755 --- a/build.sh +++ b/build.sh @@ -13,7 +13,7 @@ for file in $(find site -type f); do if [[ ! "${file##*/}" =~ ^_ ]]; then if [[ "$file" =~ .nix$ ]]; then echo "Processing file $file to _${file%.nix}.html..." - TARGET_FILE=$(realpath "$file") nix eval "${HTMNIX_REF:-github:RGBCube/HTMNIX}#result" --impure --raw --apply toString > "_${file%.nix}.html" + TARGET_FILE=$(realpath "$file") nix eval "${HTMNIX_REF:-github:RGBCube/HTMNIX}#result" --impure --raw > "_${file%.nix}.html" else echo "Copying file $file to _$file..." cp "$file" "_$file"