Files
logos-web/flake.nix
T

37 lines
904 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
perl # v5.42.0
];
};
});
};
}