typst / hayagriva

Rusty bibliography management.
Apache License 2.0
347 stars 54 forks source link

Add Nix flake #237

Open jctemp opened 1 month ago

jctemp commented 1 month ago

Nix Flake Integration

Motivation

A Nix flake is introduced to streamline the development and building process of the Typst project.

Key Changes

  1. Nix Flake Integration: Added a flake.nix file to define the development environment and build process. I adopted the Typst flake for that.
  2. Testing Adjustments: Disabled tests requiring network connections due to Nix purity constraints.
  3. Build Configuration: Updated to point to main.rs as specified in cargo.toml.

Testing and CSL Dependencies

Build Configurations Tested

Note: Darwin should build as the Typst/Typst project can build, which depends on this project.