Sakooooo
fca3604f57
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
24 lines
594 B
Nix
24 lines
594 B
Nix
{
|
|
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 {
|
|
inherit (pkgs) pnpm nodejs;
|
|
inherit (pkgs.nodePackages_latest) "@astrojs/language-server";
|
|
};
|
|
};
|
|
});
|
|
};
|
|
}
|