-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't workingdevopsPackaging, CI, etc.Packaging, CI, etc.needs-reproductionCan't reproduce yet.Can't reproduce yet.
Description
Description
What I did:
- Run Macos Sequoia (15.3.1) on a M1 mbp
- Clone typst at HEAD of master (d199546)
nix developcd typst && cargo build --release
I get the following error:
= note: ld: library not found for -lSystem
collect2: error: ld returned 1 exit status
This sort of error is usually fixable by adding pkgs.darwin.apple_sdk.frameworks.System to the devshell. And, this does indeed fix the error if I make my own flake exposing a devshell with rust and that System package. But, I do not know how Crane works, so I'm not sure how to add it to the typst flake. I tried adding the System package to devShells.default, and to commonCrangeArgs.buildInputs`. Neither helped.
Reproduction URL
No response
Operating system
Macos Sequoia (15.3.1) on a M1 mbp
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdevopsPackaging, CI, etc.Packaging, CI, etc.needs-reproductionCan't reproduce yet.Can't reproduce yet.