website/flake.nix

27 lines
498 B
Nix
Raw Normal View History

2023-08-05 11:47:39 +05:30
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/master";
inputs.systems.url = "github:nix-systems/default";
outputs = {
self,
nixpkgs,
flake-utils,
systems,
}:
flake-utils.lib.eachSystem (import systems)
(system: let
pkgs = import nixpkgs {
inherit system;
};
in {
devShells.default = pkgs.mkShell {
buildInputs = [
pkgs.nodejs
# Package manager
pkgs.nodePackages.pnpm
];
};
});
}