# Seeded by rk devshell add, and written only where the project had no
# flake: an existing flake is never edited, and this project owns and
# tunes this one from the first write.
#
# The release-kit tag below is the rk version this project develops
# against, and flake.lock is its content pin. rk devshell sync moves the
# two together, from the .envrc line, and never edits anything else here.
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
release-kit = {
url = "RK_DEVSHELL_PIN";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{ self, nixpkgs, release-kit }:
let
systems = [
"x86_64-linux"
"aarch64-linux"
];
eachSystem = f: nixpkgs.lib.genAttrs systems (system: f system);
in
{
devShells = eachSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
default = pkgs.mkShell {
packages = [ release-kit.packages.${system}.default ];
};
}
);
};
}