it-fsm/flake.nix

24 lines
607 B
Nix
Raw Normal View History

2022-11-19 16:33:13 +03:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
wd2.url = "git+https://git.pleshevski.ru/pleshevskiy/wd2";
2022-11-19 16:33:13 +03:00
};
outputs = { self, nixpkgs, flake-utils, wd2, ... }:
2022-11-19 16:33:13 +03:00
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
wd2.packages.${system}.default
2022-11-19 16:33:13 +03:00
deno
nodejs-18_x
nodePackages.typescript
];
};
});
}