Something went wrong. Try again.
Nix-based distributed command runner now.dev.br
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ description = "Nix-based distributed command runner";
inputs = { };
outputs = { self, ... }@args: let systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ];
eachSystem = f: (builtins.foldl' ( acc: system: let fSystem = f system; in builtins.foldl' ( acc': attr: acc' // { ${attr} = (acc'.${attr} or { }) // fSystem.${attr}; } ) acc (builtins.attrNames fSystem) ) { } systems);
inputs = import ./.tack { overrides = args.tackOverrides or { }; }; in eachSystem ( system: let pkgs = import inputs.nixpkgs { inherit system; }; inherit (import ./nix { inherit system pkgs; }) now now-step shell ; in { packages.${system} = { default = now; inherit now now-step; };
apps.${system}.default = { type = "app"; program = pkgs.lib.getExe now; inherit (now) meta; };
devShells.${system}.default = shell; } );}