railbird-gql/flake.nix

28 lines
664 B
Nix
Raw Normal View History

2024-02-03 15:08:27 -07:00
{
description = "Sample Nix ts-node build";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
gitignore = {
url = "github:hercules-ci/gitignore.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
self,
nixpkgs,
flake-utils,
gitignore,
...
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {inherit system;};
nodejs = pkgs.nodejs-18_x;
in
with pkgs; {
devShell = mkShell {
2024-05-21 14:14:02 -06:00
buildInputs = [nodejs yarn watchman alejandra nodePackages.prettier just];
2024-02-03 15:08:27 -07:00
};
});
}