mirror of
https://github.com/suyu-emu/website.git
synced 2026-09-21 14:17:45 -07:00
40 lines
691 B
Nix
40 lines
691 B
Nix
{
|
|
description = "Website";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
systems.url = "github:nix-systems/default";
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
systems,
|
|
nixpkgs,
|
|
}:
|
|
let
|
|
eachSystem = nixpkgs.lib.genAttrs (import systems);
|
|
in
|
|
{
|
|
devShells = eachSystem (
|
|
system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
in
|
|
{
|
|
default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
nodejs_latest
|
|
python3
|
|
pnpm
|
|
];
|
|
};
|
|
}
|
|
);
|
|
};
|
|
}
|