Source commit: 5792a1a4e1cb24ff71b1535d4b582ef980880752 Public tree identity: sha256:eea1f740446827ef10e4892923c13f13077c9e03438f2bf53d7f90536fb4cf95
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)"
|
|
'';
|
|
};
|
|
});
|
|
};
|
|
}
|