Skip to content

Commit fdeef85

Browse files
committed
Fixed?
1 parent f29ec19 commit fdeef85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@
3636
};
3737
derivation = {stdenvNoCC, ...}:
3838
stdenvNoCC.mkDerivation {
39-
name = "main.typ";
39+
name = "typst-build";
4040
src = ./.;
4141
buildInputs = [p.typst] ++ fonts;
4242
buildPhase = ''
4343
echo "Current directory contents:"
4444
ls -la
4545
mkdir -p out
46+
export HOME=$(mktemp -d)
4647
export XDG_CACHE_HOME=${typstPackagesCache}
4748
export TYPST_FONT_PATHS=${fontParam}
4849

0 commit comments

Comments
 (0)