Source commit: 6756e5208c8b79e83d55610251430bc1baef53a3 Public tree identity: sha256:2f58837c3759b4f466cbc274571ee71bc0d24c7552dc009c186394e99123da87
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)"
|
|
'';
|
|
};
|
|
});
|
|
};
|
|
}
|