ItsEthra / typst-live

Hot reloading for your typst files
MIT License
82 stars 8 forks source link

flake.lock: Update #19

Closed apeschar closed 7 months ago

apeschar commented 7 months ago

This PR updates the flake.lock so that directly running this repo with Nix is possible again.

It broke because some dependency requires Rust 1.74 and the currently locked NixOS has Rust 1.73.0, which causes this error:

% nix run github:ItsEthra/typst-live
error: builder for '/nix/store/q94nz9v2x2m1r1w7yxvsf66qi60wk0m9-typst-live-deps-0.7.0.drv' failed with exit code 101;
       last 10 log lines:
       > will append /build/source/.cargo-home/config.toml with contents of /nix/store/k69wkd38c72k34z3g5jjkgg7axiwrh0s-vendor-cargo-deps/config.toml
       > default configurePhase, nothing to do
       > building
       > ++ command cargo --version
       > cargo 1.73.0
       > ++ command cargo check --release --locked --all-targets
       > error: package `clap_builder v4.5.1` cannot be built because it requires rustc 1.74 or newer, while the currently active rustc version is 1.73.0
       > Either upgrade to rustc 1.74 or newer, or use
       > cargo update -p clap_builder@4.5.1 --precise ver
       > where `ver` is the latest version of `clap_builder` supporting rustc 1.73.0
       For full logs, run 'nix log /nix/store/q94nz9v2x2m1r1w7yxvsf66qi60wk0m9-typst-live-deps-0.7.0.drv'.
error: 1 dependencies of derivation '/nix/store/ljarki0hp7qsp7l4gbdir160k7cyks3c-typst-live-0.7.0.drv' failed to build