Skip to content

Commit 72a4c40

Browse files
shivaraj-bhsrid
authored andcommitted
fix(stan): stan works reliably when run from the project root
1 parent e280b39 commit 72a4c40

File tree

1 file changed

+2
-2
lines changed
  • nix/modules/project/settings

1 file changed

+2
-2
lines changed

nix/modules/project/settings/all.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,8 @@ in
364364
drv.overrideAttrs (old: {
365365
postInstall = (old.postInstall or "") + ''
366366
echo "Generating stan.html"
367-
cd $out
368-
stan report --hiedir $OLDPWD --config-file $OLDPWD/.stan.toml
367+
stan report
368+
mv stan.html $out
369369
echo "Finished generating stan.html"
370370
'';
371371
}))

0 commit comments

Comments
 (0)