Source commit: b215a8f6e506fafa38755d1c14e89e5a52c82f9f Public tree identity: sha256:23ba19e9f6e902cbfb4ed34cd7f9e1aaa39945e9b61946b879d7254b3f033502
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)"
|
|
'';
|
|
};
|
|
});
|
|
};
|
|
}
|