nix-cache-login/flake.nix

39 lines
873 B
Nix
Raw Normal View History

2026-02-26 09:25:58 +01:00
{
inputs = {
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1"; # tracks nixpkgs unstable branch
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs =
2026-02-26 10:02:57 +01:00
inputs@{ flake-parts, ... }:
# https://flake.parts/module-arguments.html
flake-parts.lib.mkFlake { inherit inputs; } {
2026-02-26 09:25:58 +01:00
flake = {
# Put your original flake attributes here.
};
systems = [
# systems for which you want to build the `perSystem` attributes
"x86_64-linux"
"aarch64-darwin"
];
perSystem =
{
config,
self',
inputs',
pkgs,
system,
...
}:
{
devShells = {
default = pkgs.mkShell {
packages = with pkgs; [
go
];
};
};
};
};
}