2022-12-03 06:09:30 +00:00
|
|
|
{
|
|
|
|
description = "Typescript and Deno";
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils, ... }:
|
|
|
|
flake-utils.lib.eachSystem flake-utils.lib.defaultSystems (sys:
|
|
|
|
let pkgs = import nixpkgs { system = sys; }; in
|
|
|
|
{
|
|
|
|
devShell = pkgs.mkShell {
|
2022-12-03 06:40:40 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgs.bashInteractive
|
|
|
|
pkgs.deno
|
|
|
|
];
|
2022-12-03 06:09:30 +00:00
|
|
|
shellHook = ''
|
|
|
|
echo "Testing deno's installed version:"
|
|
|
|
deno --version
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|