{ description = "Cogitator dev shell"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; }; outputs = { self, nixpkgs }: let systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system); in { devShells = forAllSystems (system: let pkgs = import nixpkgs { inherit system; }; in { default = pkgs.mkShell { buildInputs = [ pkgs.cargo pkgs.rustc pkgs.rustfmt pkgs.clippy ]; shellHook = '' export SOURCE_DATE_EPOCH : ''${SOURCE_DATE_EPOCH:=1} ''; }; }); }; }