mirror of
https://github.com/vacp2p/rfc-index.git
synced 2026-05-04 03:00:24 -04:00
23 lines
645 B
Nix
23 lines
645 B
Nix
{
|
|
description = "infra-docs";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
|
|
|
outputs = { self, nixpkgs }:
|
|
let
|
|
stableSystems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
|
|
forAllSystems = nixpkgs.lib.genAttrs stableSystems;
|
|
pkgsFor = nixpkgs.lib.genAttrs stableSystems (
|
|
system: import nixpkgs { inherit system; }
|
|
);
|
|
in rec {
|
|
devShells = forAllSystems (system: {
|
|
default = pkgsFor.${system}.mkShellNoCC {
|
|
packages = with pkgsFor.${system}.buildPackages; [
|
|
openssh git ghp-import mdbook
|
|
];
|
|
};
|
|
});
|
|
};
|
|
}
|