Fix ox-hugo export with internal ID links and Quartz config
- Add org-id resolution for [[id:...]] links by building ID locations database once before parallel export - Handle broken file links gracefully with org-export-with-broken-links - Fix race condition in parallel exports by pre-building ID cache - Fix Quartz config not being applied: cp was preserving nix store hash prefix in filename instead of using explicit destination filename - Continue pipeline even when some exports fail, reporting failures - Improve error handling and logging throughout export pipeline
This commit is contained in:
10
flake.nix
10
flake.nix
@@ -124,11 +124,11 @@
|
||||
cp -r ${quartzPatched}/. "$QUARTZ_WORK/"
|
||||
chmod -R u+w "$QUARTZ_WORK"
|
||||
|
||||
# Copy default config files
|
||||
cp ${./quartz-config/quartz.config.ts} "$QUARTZ_WORK/"
|
||||
cp ${./quartz-config/quartz.layout.ts} "$QUARTZ_WORK/"
|
||||
cp ${./quartz-config/globals.d.ts} "$QUARTZ_WORK/"
|
||||
cp ${./quartz-config/index.d.ts} "$QUARTZ_WORK/"
|
||||
# Copy default config files (explicit filenames to avoid nix store hash prefix)
|
||||
cp ${./quartz-config/quartz.config.ts} "$QUARTZ_WORK/quartz.config.ts"
|
||||
cp ${./quartz-config/quartz.layout.ts} "$QUARTZ_WORK/quartz.layout.ts"
|
||||
cp ${./quartz-config/globals.d.ts} "$QUARTZ_WORK/globals.d.ts"
|
||||
cp ${./quartz-config/index.d.ts} "$QUARTZ_WORK/index.d.ts"
|
||||
|
||||
# Link pre-built node_modules
|
||||
ln -s ${quartzDeps}/node_modules "$QUARTZ_WORK/node_modules"
|
||||
|
||||
Reference in New Issue
Block a user