Files
composition-of-nix-flake/flake.nix
T
2023-04-19 07:58:56 -04:00

24 lines
592 B
Nix

{
description = "Basic flake with typst as input";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
typst-pkg.url = "github:typst/typst";
};
outputs = { self, nixpkgs, flake-utils, typst-pkg }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
packages = {
default = pkgs.hello;
};
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [deno];
};
}
);
}