Using typst as 3rd party flake in devshell
This commit is contained in:
1 parent
a8f17e7a18
commit
289f78804f
1 file changed
+3
-2
@@ -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];
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user