2021-09-06 03:40:22 +00:00
|
|
|
{ stdenv, garbage, pkgs }:
|
2021-09-05 09:47:34 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "garbage-tests";
|
|
|
|
src = ./.;
|
|
|
|
|
|
|
|
installPhase = "mkdir -p $out";
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-09-06 03:40:22 +00:00
|
|
|
buildInputs = with pkgs; [ garbage proot mktemp mount which bash ];
|
|
|
|
|
2021-09-05 09:47:34 +00:00
|
|
|
checkPhase = ''
|
|
|
|
find . -executable -name "*.sh" | xargs bash
|
|
|
|
'';
|
|
|
|
}
|