diff --git a/flake.nix b/flake.nix index 073a624..8a69f70 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "Basic flake with typst as input"; + description = "Using typst as 3rd party flake in devshell"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; @@ -10,13 +10,14 @@ flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; + typst = typst-pkg.packages.${system}.default; in { packages = { default = pkgs.hello; }; devShells.default = pkgs.mkShell { - buildInputs = with pkgs; [deno]; + buildInputs = with pkgs; [deno typst]; }; } );