Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildTypstProjectLocal various issues #2

Open
loqusion opened this issue Jan 7, 2024 · 0 comments
Open

buildTypstProjectLocal various issues #2

loqusion opened this issue Jan 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@loqusion
Copy link
Owner

loqusion commented Jan 7, 2024

buildLocalTypstProject is currently implemented with import from derivation. This has some mildly unfortunate consequences:

  • It doesn't work when allow-import-from-derivation is switched from the (current) default to false
  • buildTypstProjectLocal relies on running a shell script for side effects (i.e. copying to current directory), but since that shell script can't realize the buildTypstProject derivation output itself, it relies on nix run, direnv reload etc.
    • For instance, adding the script derivation to a dev shell's packages and running it will simply copy a possibly-stale derivation result
@loqusion loqusion added the bug Something isn't working label Jan 7, 2024
@loqusion loqusion changed the title buildLocalTypstProject buildLocalTypstProject various issues Jan 7, 2024
@loqusion loqusion added enhancement New feature or request and removed bug Something isn't working labels Jan 15, 2024
@loqusion loqusion changed the title buildLocalTypstProject various issues buildTypstProjectLocal various issues Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant