social_post_api/flake.nix
2024-04-28 05:08:55 -04:00

24 lines
542 B
Nix

{
description = "A js development environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [];
};
in
{
devShell = pkgs.mkShell {
buildInputs = [
pkgs.nodejs_20
pkgs.yarn
];
};
});
}