{ stdenv, garbage, pkgs }: stdenv.mkDerivation { name = "garbage-tests"; src = ./.; installPhase = "mkdir -p $out"; doCheck = true; buildInputs = with pkgs; [ garbage proot mktemp mount which bash ]; checkPhase = '' find . -executable -name "*.sh" | xargs bash ''; }