2024-11-14 13:51:21 +04:00
|
|
|
{
|
|
|
|
description = "website";
|
|
|
|
|
|
|
|
inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; };
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs }:
|
|
|
|
let
|
|
|
|
inherit (nixpkgs) lib;
|
|
|
|
inherit (builtins) attrValues;
|
|
|
|
eachSystem = f:
|
|
|
|
lib.genAttrs [ "x86_64-linux" ]
|
|
|
|
(system: f nixpkgs.legacyPackages.${system});
|
|
|
|
in {
|
|
|
|
|
|
|
|
devShells = eachSystem (pkgs: {
|
|
|
|
default = pkgs.mkShell {
|
|
|
|
packages = attrValues {
|
2024-11-15 15:21:12 +04:00
|
|
|
inherit (pkgs) pnpm nodejs;
|
2024-11-14 13:51:21 +04:00
|
|
|
inherit (pkgs.nodePackages_latest) "@astrojs/language-server";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
});
|
|
|
|
};
|
|
|
|
}
|