mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-08 17:12:24 +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
|
||
|
];
|
||
|
};
|
||
|
});
|
||
|
}
|