aoc/2022/d3/flake.nix

24 lines
628 B
Nix
Raw Normal View History

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 {
nativeBuildInputs = [
pkgs.bashInteractive
pkgs.deno
];
2022-12-03 06:09:30 +00:00
shellHook = ''
echo "Testing deno's installed version:"
deno --version
'';
};
}
);
}