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