nmuidi 0.1.5

Parallelizes deleting directories which can significantly speed up deleting large deeply nested directories with a large number of files on Windows
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";

  outputs = { self, nixpkgs }:
    let
      supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
      forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
      pkgs = forAllSystems (system: nixpkgs.legacyPackages.${system});
    in
    {
      devShells = forAllSystems (system: {
        default = pkgs.${system}.mkShell {
          buildInputs = with pkgs.${system}; [ cargo rustc rust-analyzer ];
        };
      });
    };
}