2023-10-04 19:31:05 +00:00
|
|
|
# This flake was initially generated by fh, the CLI for FlakeHub (version 0.1.5)
|
|
|
|
{
|
|
|
|
description = "Development environment for the Nix Installer action for GitHub.";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
flake-schemas.url = "https://flakehub.com/f/DeterminateSystems/flake-schemas/*.tar.gz";
|
2023-10-12 15:19:09 +00:00
|
|
|
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz";
|
2023-10-04 19:31:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, flake-schemas, nixpkgs }:
|
|
|
|
let
|
2024-03-11 23:53:25 +00:00
|
|
|
supportedSystems = [ "x86_64-linux" "aarch64-darwin" "aarch64-linux" "x86_64-darwin" ];
|
2023-10-04 19:31:05 +00:00
|
|
|
forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
});
|
|
|
|
in
|
|
|
|
{
|
|
|
|
schemas = flake-schemas.schemas;
|
|
|
|
|
|
|
|
devShells = forEachSupportedSystem ({ pkgs }: {
|
|
|
|
default = pkgs.mkShell {
|
|
|
|
packages = with pkgs; [
|
2023-10-12 15:19:09 +00:00
|
|
|
nodejs_latest
|
2023-10-04 19:31:05 +00:00
|
|
|
nixpkgs-fmt
|
2024-03-14 18:02:07 +00:00
|
|
|
nodePackages_latest.pnpm
|
2023-12-19 16:01:56 +00:00
|
|
|
nodePackages_latest.typescript-language-server
|
2023-10-04 19:31:05 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
});
|
|
|
|
};
|
|
|
|
}
|