diff --git a/flake.nix b/flake.nix index 7bbdde0..40764c5 100644 --- a/flake.nix +++ b/flake.nix @@ -17,7 +17,7 @@ utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; - mdbook-typst-doc = pkgs.rustPlatform.buildRustPackage rec { + mdbook-typst-doc = pkgs.rustPlatform.buildRustPackage rec { pname = "mdbook-typst-doc"; version = "0.1.2"; @@ -27,21 +27,19 @@ rev = version; sha256 = "sha256-GulEn/MSiE8su0k+VL3uNslYCbjLJnmW6rMOdTQSMUw="; }; - + cargoHash = "sha256-KD6J8dTIPaII4ISh0PW6u1EMj5JVEDYcXuZ75ycbSys="; }; in { devShell = pkgs.mkShell { - packages = [ - pkgs.typst - pkgs.typst-lsp - typstfmt.packages.${system}.default - pkgs.act - pkgs.nodePackages_latest.prettier - pkgs.just - pkgs.mdbook - pkgs.mdbook-admonish + packages = with pkgs; [ + typst + + nodePackages_latest.prettier + just + mdbook + mdbook-admonish mdbook-typst-doc ]; };