Skip to content

Conversation

@tingerrr
Copy link

This ensures that when developing using the devShell, cargo run uses nix-ld, which respects LD_LIBRARY_PATH and can therefore find OpenSSL at runtime.

Resolves #5.

This ensures that when developing using the devShell, `cargo run` uses
nix-ld, which respects `LD_LIBRARY_PATH` and can therefore find OpenSSL
at runtime.

Resolves typst#5.
@tingerrr
Copy link
Author

I noticed that this doesn't quite solve the issue for me on Tytanic, because I can cargo run it, but I can't cargo test it with assert_cmd.

This is not an issue for Typst itself, but I figure I'd mention it here. If Typst begins testing its CLI output, flake users will run into this too.

@tingerrr
Copy link
Author

Turns out that was just me overriding them in my justfile for local CI, this will work just fine even if Typst adds CLI testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FR: Add LD_LIBRARY_PATH to devShell

1 participant