Files
logos-web/flake.nix
T
marko 0fa6dd07f6 feat(ci): create it and add flake
- flake for development and CI purpose

Referenced issue:
* https://github.com/status-im/infra-sites/issues/135

Signed-off-by: markoburcul <marko@status.im>
2026-06-02 09:13:55 +02:00

36 lines
871 B
Nix

{
description = "Nix flake development shell.";
inputs = {
nixpkgs.url = "nixpkgs/nixos-26.05";
};
outputs =
{ self, nixpkgs }:
let
supportedSystems = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
forEachSystem = nixpkgs.lib.genAttrs supportedSystems;
pkgsFor = forEachSystem (system: import nixpkgs { inherit system; });
in
rec {
formatter = forEachSystem (system: pkgsFor.${system}.nixpkgs-fmt);
devShells = forEachSystem (system: {
default = pkgsFor.${system}.mkShellNoCC {
packages = with pkgsFor.${system}.buildPackages; [
git # 2.54.0
openssh # 10.3p1
pnpm # 11.4.0
nodejs_24 # 24.15.0
ghp-import # 2.1.0
];
};
});
};
}