Source commit: a687c9883a0f7bafcbd43836bc484a1920a05029 Public tree identity: sha256:763e679bed9bbb2b69561e13bec82913af2a523960b32194fa13373e10d5a297
35 lines
861 B
Nix
35 lines
861 B
Nix
{
|
|
description = "Clusterflux development and verification environment";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
|
|
|
outputs = { self, nixpkgs }:
|
|
let
|
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
|
forAllSystems = nixpkgs.lib.genAttrs systems;
|
|
in
|
|
{
|
|
devShells = forAllSystems (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
cargo
|
|
clippy
|
|
git
|
|
jq
|
|
nodejs_22
|
|
podman
|
|
rustc
|
|
rustfmt
|
|
zip
|
|
];
|
|
shellHook = ''
|
|
echo "Clusterflux shell: $(rustc --version), $(node --version), $(podman --version)"
|
|
'';
|
|
};
|
|
});
|
|
};
|
|
}
|