mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-12-28 07:50:20 +05:30
27 lines
498 B
Nix
27 lines
498 B
Nix
{
|
|
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
|
|
];
|
|
};
|
|
});
|
|
}
|